Pagini recente » Borderou de evaluare (job #1063042) | Borderou de evaluare (job #850512) | Borderou de evaluare (job #3043223) | Borderou de evaluare (job #1988468) | Borderou de evaluare (job #1640740)
Borderou de evaluare (job #1640740)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:12:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
for(i=1;i<=n;i++) fscanf(f,"%d",&a[i]);
^
user.cpp:11:18: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:12:39: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++) fscanf(f,"%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 5 |
2 | 0ms | 256kb | OK | 5 |
3 | 0ms | 268kb | OK | 5 |
4 | 0ms | 264kb | OK | 5 |
5 | 0ms | 276kb | OK | 5 |
6 | 0ms | 304kb | OK | 5 |
7 | 4ms | 308kb | OK | 5 |
8 | 8ms | 352kb | OK | 5 |
9 | 8ms | 384kb | Incorect | 0 |
10 | 0ms | 236kb | Incorect | 0 |
11 | 0ms | 232kb | Incorect | 0 |
12 | 0ms | 232kb | Incorect | 0 |
13 | 0ms | 228kb | Incorect | 0 |
14 | 0ms | 272kb | Incorect | 0 |
15 | 4ms | 312kb | Incorect | 0 |
16 | 4ms | 340kb | Incorect | 0 |
17 | 8ms | 376kb | Incorect | 0 |
18 | 8ms | 400kb | Incorect | 0 |
19 | 12ms | 436kb | Incorect | 0 |
20 | 0ms | 228kb | Incorect | 0 |
Punctaj total | 40 |