Borderou de evaluare (job #2696907)

Utilizator andrei_marciucMarciuc Andrei andrei_marciuc Data 17 ianuarie 2021 11:09:13
Problema Padure Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

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
1400ms131kbTime limit exceeded0
2401ms131kbTime limit exceeded0
3401ms131kbTime limit exceeded0
4400ms262kbTime limit exceeded0
5403ms262kbTime limit exceeded0
6400ms393kbTime limit exceeded0
7401ms618kbTime limit exceeded0
8400ms786kbTime limit exceeded0
9402ms1179kbTime limit exceeded0
10400ms1179kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?