Borderou de evaluare (job #2463685)

Utilizator HloBrasovHai la Olimpiada HloBrasov Data 28 septembrie 2019 12:37:21
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:30: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:31: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:32:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:43: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 ciur()': main.cpp:19:15: warning: iteration 1003 invokes undefined behavior [-Waggressive-loop-optimizations] if(c[i]==0) ~~~^ main.cpp:18:19: note: within this loop for(int i=2; i<=1005; i++) ~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbWrong Answer!0
23ms131kbWrong Answer!0
32ms131kbWrong Answer!0
42ms131kbWrong Answer!0
53ms131kbWrong Answer!0
63ms131kbWrong Answer!0
73ms131kbWrong Answer!0
83ms131kbWrong Answer!0
92ms131kbWrong Answer!0
102ms131kbWrong Answer!0
Punctaj total0

Ceva nu functioneaza?