Borderou de evaluare (job #1749997)

Utilizator petrooPetru G petroo Data 29 august 2016 14:04:09
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while( l.empty() == 0 && l.size() + n - i -1 >= m && l.top() < sol[i]) ^ user.cpp:20:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if( l.size() < m) ^ user.cpp:9:10: warning: unused variable ‘x’ [-Wunused-variable] char x; ^ 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:42: 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:28: 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:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c", &sol[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1240kbOK10
20ms1248kbOK10
30ms1244kbOK10
40ms1248kbOK10
50ms1244kbOK10
68ms1284kbOK10
712ms1268kbOK10
8Depăşit1224kbTime limit exceeded.0
9Depăşit1352kbTime limit exceeded.0
10Depăşit1220kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?