Borderou de evaluare (job #1580559)

Utilizator TimoteiCopaciu Timotei Timotei Data 25 ianuarie 2016 22:03:17
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(v.size() - poz_max == M){ ^ user.cpp:22:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = poz_max; i < v.size(); i++) printf("%d", v[i]); ^ user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.in", "r", stdin); ^ user.cpp:11:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("trompeta.out", "w", stdout); ^ user.cpp:12:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms272kbOK10
30ms268kbOK10
40ms268kbOK10
50ms268kbOK10
6Depăşit460kbTime limit exceeded.0
7Depăşit464kbTime limit exceeded.0
8Depăşit1416kbTime limit exceeded.0
9Depăşit1428kbTime limit exceeded.0
10Depăşit1336kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?