Pagini recente » Borderou de evaluare (job #1189712) | Borderou de evaluare (job #223663) | Borderou de evaluare (job #311208) | Borderou de evaluare (job #1296441) | Borderou de evaluare (job #1762337)
Borderou de evaluare (job #1762337)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:122:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < blocks.size(); i++)
^
user.cpp:131:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < blocks[i].size(); j++)
^
user.cpp:139:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < blocks[i].size(); j++)
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gravity.in", "r", stdin);
^
user.cpp:32:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("gravity.out", "w", stdout);
^
user.cpp:35:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &N, &M);
^
user.cpp:37:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:37:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/cc43cvxw.o: In function `main':
user.cpp:(.text.startup+0x83): warning: the `gets' function is dangerous and should not be used.
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✗ | 1 | 184ms | 3156kb | OK! | 10 | 32 |
✓ | 2 | 224ms | 3464kb | OK! | 10 |
✗ | 3 | 172ms | 3312kb | OK! | 12 |
✓ | 4 | 52ms | 7292kb | OK! | 7 | 14 |
✗ | 5 | 56ms | 7296kb | OK! | 7 |
✗ | 6 | 60ms | 7212kb | Incorect! | 0 | 0 |
✗ | 7 | 52ms | 7060kb | Incorect! | 0 |
✓ | 8 | 56ms | 7060kb | Incorect! | 0 |
✗ | 9 | 48ms | 7292kb | Incorect! | 0 |
✗ | 10 | 60ms | 7292kb | Incorect! | 0 |
✓ | 11 | 52ms | 7292kb | Incorect! | 0 | 0 |
Punctaj total | 46 |