Pagini recente » Borderou de evaluare (job #3289077) | Borderou de evaluare (job #1715959) | Borderou de evaluare (job #2080616) | Borderou de evaluare (job #2972080) | Borderou de evaluare (job #2199066)
Borderou de evaluare (job #2199066)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size() ; ++i){
~~^~~~~~~~~~~~~~~
user.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size() ; ++i){
~~^~~~~~~~~~~~~~~
user.cpp:48:14: warning: unused variable ‘mata’ [-Wunused-variable]
bool mata = 0;
^~~~
user.cpp:51:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v[nod].size() ; ++i){
~~^~~~~~~~~~~~~~~
user.cpp:54:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + 1 == v[nod].size()) Next = 1;
~~~~~~^~~~~~~~~~~~~~~~
user.cpp:56:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + 2 == v[nod].size()) Next = 1;
~~~~~~^~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:66:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.in", "r", stdin);
^
user.cpp:67:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("karb2.out", "w", stdout);
^
user.cpp:68:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:71:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:75:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 3504kb | OK | 10 |
2 | 0ms | 3508kb | OK | 10 |
3 | 0ms | 3504kb | OK | 10 |
4 | 0ms | 3504kb | OK | 10 |
5 | 0ms | 3520kb | OK | 10 |
6 | 0ms | 3524kb | OK | 10 |
7 | 36ms | 4068kb | OK | 10 |
8 | 76ms | 4680kb | OK | 10 |
9 | 108ms | 5032kb | OK | 10 |
10 | 136ms | 5408kb | OK | 10 |
Punctaj total | 100 |