Pagini recente » Borderou de evaluare (job #2945350) | Borderou de evaluare (job #1829670) | Borderou de evaluare (job #151052) | Borderou de evaluare (job #227069) | Borderou de evaluare (job #1284815)
Borderou de evaluare (job #1284815)
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 ‘long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:15:22: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld",&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:15:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 252kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 300kb | OK | 10 |
5 | 12ms | 260kb | OK | 10 |
6 | 24ms | 524kb | OK | 10 |
7 | 48ms | 788kb | OK | 10 |
8 | 120ms | 2108kb | OK | 10 |
9 | 236ms | 3956kb | Incorect | 0 |
10 | 232ms | 3956kb | OK | 10 |
Punctaj total | 90 |