Pagini recente » Cod sursa (job #59978) | Cod sursa (job #916117) | Cod sursa (job #483172) | Cod sursa (job #818103) | Borderou de evaluare (job #2224871)
Borderou de evaluare (job #2224871)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(fi,"%d " ,&arr[i]);
^
user.cpp:16:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&t);
^
user.cpp:19:35: 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:22:38: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&arr[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1340kb | OK | 10 |
2 | 0ms | 1340kb | OK | 10 |
3 | 0ms | 1336kb | OK | 10 |
4 | 0ms | 1356kb | OK | 10 |
5 | 8ms | 1356kb | OK | 10 |
6 | 28ms | 1356kb | OK | 10 |
7 | 16ms | 1352kb | OK | 10 |
8 | 28ms | 1356kb | OK | 10 |
9 | 24ms | 1356kb | OK | 10 |
10 | 24ms | 1356kb | OK | 10 |
Punctaj total | 100 |