Borderou de evaluare (job #2406615)

Utilizator marinaoprOprea Marina marinaopr Data 15 aprilie 2019 22:16:07
Problema Orase2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 64

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:49:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &cerinta); ^ main.cpp:50:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld%ld", &n,&x); ^ main.cpp:50:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'long long int*' [-Wformat=] main.cpp:52:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &d[i]); ^ main.cpp:54:33: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'long long int*' [-Wformat=] fscanf(fin, "%ld", &v[i]); ^ main.cpp:84:34: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(fout, "%ld", (int)ans); ^ main.cpp:49:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &cerinta); ^ main.cpp:50:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld%ld", &n,&x); ^ main.cpp:52:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &d[i]); ^ main.cpp:54:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld", &v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOk2
22ms131kbOk1
32ms131kbOk1
42ms131kbOk1
55ms131kbOk3
66ms131kbOk3
78ms131kbOk4
857ms524kbOk3
981ms524kbOk3
1094ms524kbOk4
11503ms1835kbOk5
122ms131kbIncorect0
133ms131kbIncorect0
14309ms917kbIncorect0
15801ms1310kbTime limit exceeded0
16163ms524kbOk5
17390ms1179kbOk5
18741ms1703kbIncorect0
19594ms1703kbOk6
20599ms1703kbOk8
21756ms1703kbOk10
22800ms1310kbTime limit exceeded0
Punctaj total64

Ceva nu functioneaza?