Pagini recente » Borderou de evaluare (job #706935) | Borderou de evaluare (job #255486) | Borderou de evaluare (job #1031289) | Borderou de evaluare (job #1814654) | Borderou de evaluare (job #2551211)
Borderou de evaluare (job #2551211)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:28:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=]
fscanf(in, "%d", start + i) ;
^
main.cpp:31:57: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'bool*' [-Wformat=]
for (i = 1 ; i <= n ; ++ i) { fscanf(in, "%d", fin + i) ; }
^
main.cpp:26:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n) ;
^
main.cpp:28:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", start + i) ;
^
main.cpp:31:59: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (i = 1 ; i <= n ; ++ i) { fscanf(in, "%d", fin + i) ; }
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 6ms | 131kb | OK | 10 |
7 | 5ms | 131kb | OK | 10 |
8 | 7ms | 131kb | OK | 10 |
9 | 5ms | 131kb | OK | 10 |
10 | 53ms | 393kb | OK | 10 |
Punctaj total | 100 |