Borderou de evaluare (job #2343876)

Utilizator razvanradulescuRadulescu Razvan razvanradulescu Data 14 februarie 2019 14:17:51
Problema Eq4 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 41

Raport evaluator

Compilare: main.cpp: In function 'void p1()': main.cpp:55:71: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(out, "%d", coef[0] + coef[1] + coef[2] + coef[3] + coef[4]); ^ main.cpp: In function 'void p2()': main.cpp:115:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] fprintf(out, "%d", nr); ^ main.cpp: In function 'int main()': main.cpp:122:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(in, "%d\n", &c); ^ main.cpp: In function 'void p1()': main.cpp:17:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 100000, in); ^ main.cpp: In function 'void p2()': main.cpp:60:25: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fgets(s, 100000, in); ^ main.cpp:99:39: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d %d", &a, &b, &r); ^ main.cpp: In function 'int main()': main.cpp:122:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d\n", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect1
22ms131kbCorect1
32ms131kbCorect4
42ms131kbRapuns gresit0
53ms131kbCorect5
62ms131kbCorect5
7206ms131kbCorect5
81500ms131kbTime limit exceeded0
910ms131kbCorect5
1013ms131kbCorect5
112ms131kbCorect5
121503ms131kbTime limit exceeded0
131502ms262kbTime limit exceeded0
141502ms131kbTime limit exceeded0
151501ms131kbTime limit exceeded0
161503ms262kbTime limit exceeded0
173ms131kbCorect5
181501ms131kbTime limit exceeded0
191502ms131kbTime limit exceeded0
201503ms262kbTime limit exceeded0
211500ms262kbTime limit exceeded0
221500ms262kbTime limit exceeded0
Punctaj total41

Ceva nu functioneaza?