Pagini recente » Borderou de evaluare (job #2759418) | Borderou de evaluare (job #2223438) | Borderou de evaluare (job #1287905) | Borderou de evaluare (job #1688671) | Borderou de evaluare (job #2034339)
Borderou de evaluare (job #2034339)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[0]);
^
user.cpp:18:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&v[i]);
^
user.cpp:33:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",s[i]);
^
user.cpp:14:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:15:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[0]);
^
user.cpp:18:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 864kb | OK | 10 |
2 | 40ms | 2224kb | Incorect | 0 |
3 | 120ms | 5784kb | Incorect | 0 |
4 | 260ms | 10020kb | Incorect | 0 |
5 | 40ms | 1828kb | Incorect | 0 |
6 | 24ms | 1248kb | Incorect | 0 |
7 | 28ms | 2028kb | OK | 10 |
8 | 0ms | 364kb | Incorect | 0 |
9 | 0ms | 344kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 40 |