Pagini recente » Borderou de evaluare (job #1343586) | Borderou de evaluare (job #1281782) | Borderou de evaluare (job #2294815) | Borderou de evaluare (job #2707681) | Borderou de evaluare (job #2465654)
Borderou de evaluare (job #2465654)
Raport evaluator
Compilare:
main.cpp: In function 'int binarySearch(int, vi&)':
main.cpp:66:19: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
int m = l + r >> 1;
~~^~~
main.cpp: In function 'Matrix mult(Matrix, Matrix)':
main.cpp:85:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < a.size(); ++i) {
~~^~~~~~~~~~
main.cpp:86:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < b[0].size(); ++j) {
~~^~~~~~~~~~~~~
main.cpp:87:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < a[0].size(); ++k) {
~~^~~~~~~~~~~~~
main.cpp: In function 'void change(int, int)':
main.cpp:137:16: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
change(l, l+r>>1);
~^~
main.cpp:138:14: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
change((l+r>>1) + 1, r);
~^~
main.cpp: In function 'int main()':
main.cpp:10:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:203:9: note: in expansion of macro 'FO'
FO(chimichangas)
^~
main.cpp:10:71: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define FO(x) {freopen(#x".in","r",stdin);freopen(#x".out","w",stdout);}
^
main.cpp:203:9: note: in expansion of macro 'FO'
FO(chimichangas)
^~
main.cpp:213:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:221:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:234:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:238:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 203ms | 9568kb | OK | 5 | 0 |
2 | 112ms | 8912kb | OK | 5 |
3 | 191ms | 9568kb | OK | 5 |
4 | 160ms | 9699kb | Incorect | 0 |
5 | 858ms | 10354kb | OK | 5 | 5 |
6 | 237ms | 9699kb | OK | 5 | 0 |
7 | 304ms | 9961kb | OK | 5 |
8 | 231ms | 9699kb | Incorect | 0 |
9 | 344ms | 9830kb | OK | 5 |
10 | 222ms | 9699kb | Incorect | 0 |
11 | 352ms | 10092kb | Incorect | 0 | 0 |
12 | 586ms | 10485kb | Incorect | 0 |
13 | 534ms | 10616kb | Incorect | 0 |
14 | 563ms | 10354kb | OK | 5 |
15 | 1501ms | 11403kb | Time limit exceeded | 0 | 0 |
16 | 1420ms | 11456kb | Incorect | 0 |
17 | 1503ms | 11272kb | Time limit exceeded | 0 |
18 | 1502ms | 11403kb | Time limit exceeded | 0 |
19 | 1500ms | 11403kb | Time limit exceeded | 0 |
20 | 1503ms | 11403kb | Time limit exceeded | 0 |
Punctaj total | 5 |