Borderou de evaluare (job #2140868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fi,"%d%d", &n, &k);
^
user.cpp:40:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:40:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d%d", &n, &k);
^
user.cpp:43:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &v[i]);
^
user.cpp:48:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1560kb | OK | 10 | 10 |
2 | 0ms | 1560kb | OK | 10 | 10 |
3 | 0ms | 1564kb | OK | 10 | 10 |
4 | 4ms | 1676kb | OK | 10 | 10 |
5 | 20ms | 1876kb | OK | 10 | 30 |
6 | 28ms | 2184kb | OK | 10 |
7 | 60ms | 2604kb | OK | 10 |
8 | 112ms | 3280kb | OK | 10 | 10 |
9 | 128ms | 3412kb | OK | 10 | 10 |
10 | 152ms | 4056kb | OK | 10 | 10 |
Punctaj total | 100 |