Pagini recente » Borderou de evaluare (job #2665278) | Diferente pentru problema/nr2 intre reviziile 8 si 7 | Borderou de evaluare (job #3040097) | Cod sursa (job #2397916) | Borderou de evaluare (job #1284800)
Borderou de evaluare (job #1284800)
Raport evaluator
Compilare:
user.cpp:4:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main()
^
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 | 248kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 12ms | 260kb | OK | 10 |
6 | 24ms | 524kb | OK | 10 |
7 | 48ms | 788kb | OK | 10 |
8 | 116ms | 2108kb | OK | 10 |
9 | 248ms | 3956kb | Incorect | 0 |
10 | 256ms | 3956kb | OK | 10 |
Punctaj total | 90 |