Pagini recente » Borderou de evaluare (job #1379956) | Borderou de evaluare (job #2296348) | Borderou de evaluare (job #918607) | Borderou de evaluare (job #1876970) | Borderou de evaluare (job #2286899)
Borderou de evaluare (job #2286899)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf( "%d", &d[i] );
^
main.cpp:20:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "podm.in", "r", stdin );
^
main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen( "podm.out", "w", stdout );
^
main.cpp:25:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &n );
^
main.cpp:28:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &d[i] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 262kb | OK | 10 |
4 | 2ms | 262kb | OK | 10 |
5 | 3ms | 262kb | OK | 10 |
6 | 4ms | 524kb | OK | 10 |
7 | 20ms | 917kb | OK | 10 |
8 | 66ms | 1310kb | OK | 10 |
9 | 149ms | 1835kb | OK | 10 |
10 | 260ms | 2097kb | OK | 10 |
Punctaj total | 100 |