Pagini recente » Borderou de evaluare (job #2129431) | Borderou de evaluare (job #1080263) | Borderou de evaluare (job #935888) | Borderou de evaluare (job #2684653) | Borderou de evaluare (job #1780606)
Borderou de evaluare (job #1780606)
Raport evaluator
Compilare:
user.cpp: In function ‘void fixGraph()’:
user.cpp:49:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < bad.size() / 2; i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:98:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < cyc.size(); i++) {
^
user.cpp:100:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i < cyc.size() - 1 && cyc[i].second > m) pth.push_back(vector <int>());
^
user.cpp:104:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < pth.size(); i++) {
^
user.cpp:81:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.in", "r", stdin);
^
user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("johnie.out", "w", stdout);
^
user.cpp:84:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:87:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1040kb | OK | 10 |
2 | 0ms | 1044kb | Numar de etape incorect! | 0 |
3 | 4ms | 1184kb | OK | 10 |
4 | 12ms | 1628kb | OK | 10 |
5 | 68ms | 3360kb | OK | 10 |
6 | 88ms | 3944kb | Numar de etape incorect! | 0 |
7 | 104ms | 4732kb | Numar de etape incorect! | 0 |
8 | 152ms | 5760kb | OK | 10 |
9 | 164ms | 6112kb | OK | 10 |
10 | 0ms | 1028kb | OK | 10 |
Punctaj total | 70 |