QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#281905#7782. Ursa Minorucup-team253#Compile Error//C++236.4kb2023-12-11 03:45:232023-12-11 03:45:23

Details

answer.code: In function ‘void dodaj_duze(int, ll)’:
answer.code:130:14: error: ‘wartu’ was not declared in this scope
  130 |         w=(w*wartu[v])%mod;
      |              ^~~~~
answer.code: In function ‘void ogarnij_duze()’:
answer.code:168:17: error: ‘wartu’ was not declared in this scope
  168 |                 wartu[i]=pot[i];
      |                 ^~~~~
answer.code: In function ‘void dodaj_male(int, ll)’:
answer.code:221:14: error: ‘wartu’ was not declared in this scope
  221 |         w=(w*wartu[v])%mod;
      |              ^~~~~
answer.code: In function ‘int main()’:
answer.code:340:25: error: ‘wartu’ was not declared in this scope
  340 |                         wartu[j]=wartu[j-i];
      |                         ^~~~~
answer.code:303:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  303 |         scanf("%d%d%d", &n, &m, &q);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~
answer.code:305:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  305 |                 scanf("%lld", &init[i]);
      |                 ~~~~~^~~~~~~~~~~~~~~~~~
answer.code:309:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  309 |                 scanf("%d", &x);
      |                 ~~~~~^~~~~~~~~~
answer.code:317:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  317 |                 scanf(" %c", &c);
      |                 ~~~~~^~~~~~~~~~~
answer.code:323:30: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  323 |                         scanf("%d", &j);
      |                         ~~~~~^~~~~~~~~~