Borderou de evaluare (job #2696907)
Raport evaluator
Compilare:
main.cpp: In function 'void Fill(Andrei, int)':
main.cpp:24:18: warning: narrowing conversion of '(((int)nr.Andrei::l) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
Fill( { nr.l + 1, nr.c }, cul );
~~~~~^~~
main.cpp:25:18: warning: narrowing conversion of '(((int)nr.Andrei::l) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
Fill( { nr.l - 1, nr.c }, cul );
~~~~~^~~
main.cpp:26:24: warning: narrowing conversion of '(((int)nr.Andrei::c) + 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
Fill( { nr.l, nr.c + 1 }, cul );
~~~~~^~~
main.cpp:27:24: warning: narrowing conversion of '(((int)nr.Andrei::c) - 1)' from 'int' to 'short int' inside { } [-Wnarrowing]
Fill( { nr.l, nr.c - 1 }, cul );
~~~~~^~~
main.cpp: In function 'int main()':
main.cpp:33:69: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
fscanf( fin, "%d%d%d%d%d%d", &n, &m, &st.l, &st.c, &sf.l, &sf.c );
^
main.cpp:33:69: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'short int*' [-Wformat=]
main.cpp:33:69: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'short int*' [-Wformat=]
main.cpp:33:69: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'short int*' [-Wformat=]
main.cpp:34:29: warning: right operand of comma operator has no effect [-Wunused-value]
--st.l, --st.c, --sf.l, -sf.c;
^~~~~
main.cpp:33:70: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d%d%d%d%d", &n, &m, &st.l, &st.c, &sf.l, &sf.c );
^
main.cpp:38:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &x );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 400ms | 131kb | Time limit exceeded | 0 |
| 2 | 401ms | 131kb | Time limit exceeded | 0 |
| 3 | 401ms | 131kb | Time limit exceeded | 0 |
| 4 | 400ms | 262kb | Time limit exceeded | 0 |
| 5 | 403ms | 262kb | Time limit exceeded | 0 |
| 6 | 400ms | 393kb | Time limit exceeded | 0 |
| 7 | 401ms | 618kb | Time limit exceeded | 0 |
| 8 | 400ms | 786kb | Time limit exceeded | 0 |
| 9 | 402ms | 1179kb | Time limit exceeded | 0 |
| 10 | 400ms | 1179kb | Time limit exceeded | 0 |
| Punctaj total | 0 |