Pagini recente » Borderou de evaluare (job #2837559) | Borderou de evaluare (job #1696202) | Borderou de evaluare (job #1336008) | Borderou de evaluare (job #2038537) | Borderou de evaluare (job #2571058)
Borderou de evaluare (job #2571058)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:14:34: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &n, &m );
^
main.cpp:17:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &nr );
^
main.cpp:11:32: warning: 'finish' may be used uninitialized in this function [-Wmaybe-uninitialized]
int n, m, i, j, nr, start, finish, a, b, mx = 0;
^~~~~~
main.cpp:28:13: warning: 'start' may be used uninitialized in this function [-Wmaybe-uninitialized]
for ( i = start - 1; i >= finish; i-- ) {
~~^~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
11 | 2ms | 131kb | OK! | 0 | 0 |
1 | 2ms | 131kb | OK! | 10 | 10 |
2 | 2ms | 131kb | OK! | 10 | 10 |
3 | 6ms | 262kb | OK! | 10 | 20 |
4 | 6ms | 262kb | OK! | 9 |
14 | 2ms | 131kb | OK! | 1 |
5 | 6ms | 262kb | OK! | 10 | 10 |
6 | 180ms | 3538kb | OK! | 10 | 20 |
7 | 179ms | 3538kb | OK! | 9 |
13 | 2ms | 131kb | OK! | 1 |
8 | 379ms | 8126kb | OK! | 10 | 30 |
9 | 405ms | 8126kb | OK! | 10 |
10 | 393ms | 8126kb | OK! | 9 |
12 | 2ms | 131kb | OK! | 1 |
Punctaj total | 100 |