Borderou de evaluare (job #1844282)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 9 ianuarie 2017 21:05:47
Problema Dk Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘M_R_test’: user.c:19:5: warning: type of ‘n’ defaults to ‘int’ [enabled by default] int M_R_test(n){ ^ user.c: In function ‘main’: user.c:73:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(n==1 || !(n%2) && n!=2){ ^ user.c:79:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] ans += M_R_test(n); printf("%d\n", ans); ^ user.c:68:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &T); ^ user.c:71:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1Depăşit268kbTime limit exceeded.00
2Depăşit272kbTime limit exceeded.00
3Depăşit276kbTime limit exceeded.00
4Depăşit272kbTime limit exceeded.00
5Depăşit276kbTime limit exceeded.00
6Depăşit248kbTime limit exceeded.00
7Depăşit272kbTime limit exceeded.00
8Depăşit276kbTime limit exceeded.0
9Depăşit272kbTime limit exceeded.0
10Depăşit268kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?