Borderou de evaluare (job #1323101)

Utilizator goalexboxerFMI Alexandru Ionascu goalexboxer Data 20 ianuarie 2015 17:35:35
Problema Deque Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int read()’: user.cpp:23:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=n;i++) ^ user.cpp: In function ‘int solve()’: user.cpp:33:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=1;i<=k;i++) ^ user.cpp:38:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] while(index < n) ^ user.cpp: In function ‘int write()’: user.cpp:77:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("%d", sum); ^ user.cpp: In function ‘int read()’: user.cpp:19:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FIN,"r",stdin); ^ user.cpp:20:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(FOUT,"w",stdout); ^ user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &k); ^ user.cpp:25:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &arr[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms288kbOK55
20ms284kbOK55
312ms340kbOK55
420ms336kbOK55
5Depăşit968kbTime limit exceeded.00
6Depăşit960kbTime limit exceeded.00
7Depăşit1552kbTime limit exceeded.00
8Depăşit1552kbTime limit exceeded.0
9Depăşit1736kbTime limit exceeded.0
10Depăşit1520kbTime limit exceeded.00
11Depăşit1556kbTime limit exceeded.0
12Depăşit1676kbTime limit exceeded.0
13Depăşit13452kbTime limit exceeded.00
14Depăşit17776kbTime limit exceeded.0
15Depăşit14928kbTime limit exceeded.0
161504ms38036kbKilled by signal 6(SIGABRT).0
171352ms32764kbKilled by signal 6(SIGABRT).0
181396ms36596kbKilled by signal 6(SIGABRT).0
191412ms32792kbKilled by signal 11(SIGSEGV).0
201336ms34016kbKilled by signal 11(SIGSEGV).0
Punctaj total20

Ceva nu functioneaza?