Borderou de evaluare (job #3135881)

Utilizator profinfo114Prof Info profinfo114 Data 4 iunie 2023 17:03:24
Problema Orase1 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int sePoate(int)': main.cpp:12:22: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 12 | while (s + v[i] <= d && i<=n) { | ~~~~~~~~~~^~~~ main.cpp:12:31: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 12 | while (s + v[i] <= d && i<=n) { | ~^~~ main.cpp:17:11: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 17 | if (i > n) { | ~~^~~ main.cpp:27:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 27 | while (s + v[i]<= d && i<=n) { | ~~~~~~~~^~~~ main.cpp:27:33: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 27 | while (s + v[i]<= d && i<=n) { | ~^~~ main.cpp:32:14: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 32 | if (i<=n) { | ~^~~ main.cpp:38:18: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 38 | if (i>n) | ~^~ main.cpp:41:29: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 41 | while (s + v[i] <= d && i<=n) { | ~~~~~~~~~^~~~ main.cpp:41:38: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 41 | while (s + v[i] <= d && i<=n) { | ~^~~ main.cpp:46:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 46 | if (i > n) { | ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK1010
20ms303kbOK1010
34ms557kbOK1010
49ms1081kbOK1010
519ms2555kbOK1010
624ms3137kbOK1010
729ms3375kbOK1030
834ms3854kbOK10
939ms4390kbOK10
100ms303kbOK1010
Punctaj total100

Ceva nu functioneaza?