Borderou de evaluare (job #2463645)

Utilizator HloBrasovHai la Olimpiada HloBrasov Data 28 septembrie 2019 12:31:38
Problema Coprime Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:34:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("coprime.in", "r", stdin); ^ main.cpp:35:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("coprime.out", "w", stdout); ^ main.cpp:36:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d/n", &nrcolegi, &m); ^ main.cpp:49:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ main.cpp: In function 'void zeroz()': main.cpp:30:14: warning: iteration 49 invokes undefined behavior [-Waggressive-loop-optimizations] a[i] = 0; ~~~~~^~~ main.cpp:29:19: note: within this loop for(int i=1; i<=50; i++) ~^~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbWrong Answer!0
22ms131kbWrong Answer!0
32ms131kbWrong Answer!0
42ms131kbWrong Answer!0
52ms131kbWrong Answer!0
62ms131kbWrong Answer!0
72ms131kbWrong Answer!0
83ms131kbWrong Answer!0
92ms131kbWrong Answer!0
103ms131kbWrong Answer!0
Punctaj total0

Ceva nu functioneaza?