Pagini recente » Borderou de evaluare (job #2154207) | Borderou de evaluare (job #2285199) | Borderou de evaluare (job #2073012) | Borderou de evaluare (job #2275111) | Borderou de evaluare (job #2148921)
Borderou de evaluare (job #2148921)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:21: warning: variable ‘poz’ set but not used [-Wunused-but-set-variable]
int n, m, i, cnt, poz, min;
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.in", "r", stdin );
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen( "numar2.out", "w", stdout );
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d%d", &n, &m );
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf( "%d", &v[i] );
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 936kb | OK | 10 |
2 | 0ms | 820kb | OK | 10 |
3 | 0ms | 816kb | OK | 10 |
4 | 0ms | 932kb | OK | 10 |
5 | 4ms | 860kb | OK | 10 |
6 | 4ms | 820kb | OK | 10 |
7 | 4ms | 872kb | OK | 10 |
8 | 8ms | 820kb | OK | 10 |
9 | 8ms | 816kb | OK | 10 |
10 | 8ms | 816kb | OK | 10 |
Punctaj total | 100 |