Pagini recente » Borderou de evaluare (job #340093) | Borderou de evaluare (job #2849809) | Borderou de evaluare (job #1429669) | Borderou de evaluare (job #638621) | Borderou de evaluare (job #1390833)
Borderou de evaluare (job #1390833)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:24:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=1;i<=n+1;i++)
^
user.cpp:25:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
fscanf(f,"%d",&a[i]);
^
user.cpp:23: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:25:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 348kb | OK | 10 |
4 | 0ms | 428kb | OK | 10 |
5 | 0ms | 476kb | OK | 10 |
6 | 0ms | 692kb | OK | 10 |
7 | 20ms | 1116kb | OK | 10 |
8 | 72ms | 1552kb | OK | 10 |
9 | 164ms | 1984kb | OK | 10 |
10 | 328ms | 2412kb | OK | 10 |
Punctaj total | 100 |