Borderou de evaluare (job #2395679)

Utilizator oso.andinoooIonut Stan oso.andinooo Data 2 aprilie 2019 19:34:53
Problema Difprim Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:11:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i = 4; i <= b; i = i + 2) ^~~ main.cpp:13:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' for (int i = 3; i * i <= b; i = i + 2) ^~~ main.cpp:6:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("difprim.in","r",stdin); ^ main.cpp:7:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("difprim.out","w",stdout); ^ main.cpp:9:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &a, &b); ^ main.cpp:8:15: warning: 'n1' may be used uninitialized in this function [-Wmaybe-uninitialized] int a, b, n1, n2, ans = 0, max1, max2; ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK10
22ms131kbOK10
32ms131kbOK10
43ms262kbOK10
539ms2097kbOK10
6265ms7995kbOK10
7305ms9175kbOK10
8130ms4063kbOK10
9287ms8257kbOK10
10351ms10092kbTime limit exceeded0
Punctaj total90

Ceva nu functioneaza?