Pagini recente » Borderou de evaluare (job #362597) | Borderou de evaluare (job #1757728) | Borderou de evaluare (job #2708531) | Borderou de evaluare (job #1855981) | Borderou de evaluare (job #1640714)
Borderou de evaluare (job #1640714)
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 | 260kb | OK | 5 |
2 | 0ms | 260kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 268kb | OK | 5 |
5 | 0ms | 280kb | OK | 5 |
6 | 0ms | 300kb | OK | 5 |
7 | 4ms | 316kb | OK | 5 |
8 | 8ms | 356kb | OK | 5 |
9 | 8ms | 388kb | Incorect | 0 |
10 | 0ms | 244kb | Incorect | 0 |
11 | 0ms | 240kb | Incorect | 0 |
12 | 0ms | 240kb | Incorect | 0 |
13 | 0ms | 240kb | Incorect | 0 |
14 | 0ms | 284kb | Incorect | 0 |
15 | 4ms | 320kb | Incorect | 0 |
16 | 4ms | 344kb | Incorect | 0 |
17 | 8ms | 380kb | Incorect | 0 |
18 | 8ms | 404kb | Incorect | 0 |
19 | 12ms | 440kb | Incorect | 0 |
20 | 0ms | 244kb | Incorect | 0 |
Punctaj total | 40 |