Pagini recente » Borderou de evaluare (job #2601838) | Borderou de evaluare (job #1125712) | Borderou de evaluare (job #1615719) | Borderou de evaluare (job #1091475) | Borderou de evaluare (job #2696903)
Borderou de evaluare (job #2696903)
Raport evaluator
Compilare:
main.cpp: In function 'void Fill(Andrei, int)':
main.cpp:30: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:31: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:32: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:33: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:39: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:39:69: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'short int*' [-Wformat=]
main.cpp:39:69: warning: format '%d' expects argument of type 'int*', but argument 7 has type 'short int*' [-Wformat=]
main.cpp:39:69: warning: format '%d' expects argument of type 'int*', but argument 8 has type 'short int*' [-Wformat=]
main.cpp:40:29: warning: right operand of comma operator has no effect [-Wunused-value]
--st.l, --st.c, --sf.l, -sf.c;
^~~~~
main.cpp:39: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:44: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 | 403ms | 131kb | Time limit exceeded | 0 |
3 | 400ms | 131kb | Time limit exceeded | 0 |
4 | 400ms | 262kb | Time limit exceeded | 0 |
5 | 400ms | 262kb | Time limit exceeded | 0 |
6 | 403ms | 393kb | Time limit exceeded | 0 |
7 | 400ms | 655kb | Time limit exceeded | 0 |
8 | 403ms | 786kb | Time limit exceeded | 0 |
9 | 403ms | 1179kb | Time limit exceeded | 0 |
10 | 400ms | 1048kb | Time limit exceeded | 0 |
Punctaj total | 0 |