Borderou de evaluare (job #1275571)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:24: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin, "%lld", &n);
^
user.cpp:22:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%lld", &n);
^
user.cpp:24:69: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i =0; i< n; i++) {fscanf(fin, "%ld %lld", &v[i].t, &v[i].p);if(v[i].t > max) max = v[i].t;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1148kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 1224kb | OK | 10 |
4 | 0ms | 1252kb | OK | 10 |
5 | 0ms | 1260kb | OK | 10 |
6 | 12ms | 1364kb | OK | 10 |
7 | 44ms | 1608kb | OK | 10 |
8 | 292ms | 1832kb | OK | 10 |
9 | 492ms | 2188kb | OK | 10 |
10 | 388ms | 2424kb | OK | 10 |
Punctaj total | 100 |