Pagini recente » Borderou de evaluare (job #874021) | Borderou de evaluare (job #1475972) | Borderou de evaluare (job #1485654) | Borderou de evaluare (job #2306883) | Borderou de evaluare (job #1734481)
Borderou de evaluare (job #1734481)
Raport evaluator
Compilare:
user.cpp: In function ‘void Back(int)’:
user.cpp:155:21: warning: unused variable ‘s1’ [-Wunused-variable]
int s1 = sr[i], s2 = sc[i];
^
user.cpp:155:33: warning: unused variable ‘s2’ [-Wunused-variable]
int s1 = sr[i], s2 = sc[i];
^
user.cpp: In function ‘void read()’:
user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.in", "r", stdin);
^
user.cpp:17:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:171:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dame2.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:17:19:
/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/ccp3pNbg.o: In function `read()':
user.cpp:(.text+0x50): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 16ms | 400kb | Incorect | 0 |
| 2 | 4ms | 396kb | Incorect | 0 |
| 3 | 0ms | 396kb | Incorect | 0 |
| 4 | 0ms | 396kb | OK | 4 |
| 5 | 48ms | 400kb | Incorect | 0 |
| 6 | 12ms | 400kb | Incorect | 0 |
| 7 | 172ms | 400kb | Incorect | 0 |
| 8 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 356kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 360kb | Time limit exceeded. | 0 |
| 13 | 0ms | 400kb | Incorect | 0 |
| 14 | 0ms | 400kb | OK | 4 |
| 15 | Depăşit | 356kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 352kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 356kb | Time limit exceeded. | 0 |
| 20 | 8ms | 396kb | Incorect | 0 |
| 21 | 8ms | 404kb | Incorect | 0 |
| 22 | 8ms | 396kb | Incorect | 0 |
| 23 | 12ms | 404kb | Incorect | 0 |
| 24 | 0ms | 400kb | Incorect | 0 |
| 25 | 16ms | 400kb | Incorect | 0 |
| Punctaj total | 8 |