Pagini recente » Borderou de evaluare (job #1955872) | Borderou de evaluare (job #2197230) | Borderou de evaluare (job #2014677) | Borderou de evaluare (job #2519709) | Borderou de evaluare (job #2465689)
Borderou de evaluare (job #2465689)
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 '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:189: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:189:9: note: in expansion of macro 'FO'
FO(chimichangas)
^~
main.cpp:199: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:207:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
main.cpp:220:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:224: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 | 195ms | 9568kb | OK | 5 | 20 |
2 | 113ms | 8912kb | OK | 5 |
3 | 193ms | 9568kb | OK | 5 |
4 | 146ms | 9445kb | OK | 5 |
5 | 742ms | 9306kb | OK | 5 | 5 |
6 | 228ms | 9568kb | OK | 5 | 25 |
7 | 296ms | 9568kb | OK | 5 |
8 | 226ms | 9568kb | OK | 5 |
9 | 277ms | 9568kb | OK | 5 |
10 | 223ms | 9437kb | OK | 5 |
11 | 347ms | 9437kb | OK | 5 | 20 |
12 | 576ms | 9830kb | OK | 5 |
13 | 527ms | 9830kb | OK | 5 |
14 | 474ms | 9961kb | OK | 5 |
15 | 1500ms | 9175kb | Time limit exceeded | 0 | 0 |
16 | 1501ms | 9175kb | Time limit exceeded | 0 |
17 | 1502ms | 9150kb | Time limit exceeded | 0 |
18 | 1503ms | 9306kb | Time limit exceeded | 0 |
19 | 1500ms | 9306kb | Time limit exceeded | 0 |
20 | 1502ms | 9314kb | Time limit exceeded | 0 |
Punctaj total | 70 |