Pagini recente » Borderou de evaluare (job #283327) | Borderou de evaluare (job #2596716) | Borderou de evaluare (job #958778) | Borderou de evaluare (job #572758) | Borderou de evaluare (job #1749839)
Borderou de evaluare (job #1749839)
Raport evaluator
Compilare:
user.cpp: In function ‘int Cost(int, int)’:
user.cpp:36:9: warning: unused variable ‘i’ [-Wunused-variable]
int i, nod;
^
user.cpp: In function ‘void read()’:
user.cpp:26:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.in", "r", stdin);
^
user.cpp:27:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:30:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i] + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:108:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("adn.out", "w", stdout);
^
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 ‘void read()’ at user.cpp:30: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/ccZBm9OL.o: In function `read()':
user.cpp:(.text+0xdc): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 24ms | 19920kb | Wrong asnwer | 0 |
2 | 72ms | 19896kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 24ms | 19932kb | Wrong asnwer | 0 |
4 | Depăşit | 19896kb | Time limit exceeded. | 0 |
5 | 24ms | 19940kb | Wrong asnwer | 0 |
6 | 56ms | 19980kb | Wrong asnwer | 0 |
7 | 32ms | 20152kb | Wrong asnwer | 0 |
8 | Depăşit | 20120kb | Time limit exceeded. | 0 |
9 | 868ms | 20244kb | Wrong asnwer | 0 |
10 | 888ms | 20260kb | Wrong asnwer | 0 |
Punctaj total | 0 |