Pagini recente » Borderou de evaluare (job #15559) | Borderou de evaluare (job #2838796) | Borderou de evaluare (job #318973) | Borderou de evaluare (job #865988) | Borderou de evaluare (job #2709933)
Borderou de evaluare (job #2709933)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:25:29: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(fin, "%d%d", &n, &p);
^
main.cpp:25:29: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long int*' [-Wformat=]
main.cpp:28:30: warning: format '%lld' expects argument of type 'long long int*', but argument 3 has type 'int*' [-Wformat=]
fscanf(fin, "%lld", &v[i]);
^
main.cpp:44:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
fprintf(fout, "%lld ", v1[0].poz + 1);
^
main.cpp:58:41: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=]
fprintf(fout, "%lld ", v1[0].poz + 1);
^
main.cpp:25:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &p);
^
main.cpp:28:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
2 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
3 | 2ms | 131kb | Cerinta 2 incorecta ! | 3 |
4 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
5 | 2ms | 131kb | Cerinta 2 incorecta ! | 3 |
6 | 2ms | 131kb | Cerinta 2 incorecta ! | 3 |
7 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
8 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
9 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
10 | 2ms | 131kb | Cerinta 1 corecta ! | 1 |
11 | 7ms | 131kb | Cerinta 1 corecta ! | 1 |
12 | 5ms | 131kb | Cerinta 1 corecta ! | 1 |
13 | 32ms | 262kb | Cerinta 1 corecta ! | 1 |
14 | 173ms | 393kb | Cerinta 1 corecta ! | 1 |
15 | 595ms | 655kb | Cerinta 1 corecta ! | 1 |
16 | 799ms | 786kb | Cerinta 1 corecta ! | 1 |
17 | 801ms | 786kb | Time limit exceeded | 0 |
18 | 803ms | 786kb | Time limit exceeded | 0 |
19 | 803ms | 786kb | Time limit exceeded | 0 |
20 | 73ms | 1179kb | Cerinta 1 corecta ! | 1 |
Punctaj total | 23 |