Pagini recente » Cod sursa (job #245213) | Cod sursa (job #41377) | Borderou de evaluare (job #2559206) | Borderou de evaluare (job #1877724) | Borderou de evaluare (job #1605905)
Borderou de evaluare (job #1605905)
Raport evaluator
Compilare:
user.cpp: In function ‘void predf(int)’:
user.cpp:16:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp: In function ‘void ancestors(int, int)’:
user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp: In function ‘void df(int)’:
user.cpp:47:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < A[x].size(); i++) {
^
user.cpp: In function ‘int num_ops(int)’:
user.cpp:57:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sorted.size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:68:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.in", "r", stdin);
^
user.cpp:69:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arborest.out", "w", stdout);
^
user.cpp:71:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &F[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1468kb | OK | 10 |
| 2 | 0ms | 1464kb | OK | 10 |
| 3 | 0ms | 1468kb | OK | 10 |
| 4 | 12ms | 1816kb | OK | 10 |
| 5 | 36ms | 2500kb | OK | 10 |
| 6 | 80ms | 3456kb | OK | 10 |
| 7 | Depăşit | 4616kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 4648kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5284kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 4908kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |