Borderou de evaluare (job #2285965)

Utilizator HoratioHoratiu Duma Horatio Data 19 noiembrie 2018 16:54:25
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'void nrsisum(int, long int)': main.cpp:58:24: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'int' [-Wformat=] printf("%ld ",nrdiv); ^ main.cpp: In function 'void calcul()': main.cpp:73:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[13]' [-Wformat=] scanf("%s\n",&c); ^ main.cpp:134:13: warning: this 'else' clause does not guard... [-Wmisleading-indentation] else ^~~~ main.cpp:136:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'else' break; ^~~~~ main.cpp:73:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",&c); ^ main.cpp: In function 'void prelucrare()': main.cpp:178:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&t); ^ main.cpp: In function 'int main()': main.cpp:196:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ssnd.in","r",stdin); ^ main.cpp:197:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ssnd.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
168ms4456kbOK1010
268ms4456kbOK1010
375ms4456kbOK1010
468ms4456kbOK1010
568ms4456kbOK1010
675ms4456kbOK1010
767ms4456kbOK1010
8100ms4456kbTime limit exceeded00
9100ms4456kbTime limit exceeded0
10101ms4456kbTime limit exceeded0
Punctaj total70

Ceva nu functioneaza?