Pagini recente » Borderou de evaluare (job #2629053) | Borderou de evaluare (job #660436) | Borderou de evaluare (job #1289139) | Borderou de evaluare (job #2075059) | Borderou de evaluare (job #1533561)
Borderou de evaluare (job #1533561)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ans.size() != n-1) return printf("-1\n"),0;
^
user.cpp: In function ‘std::pair<int, int> go(std::pair<int, int>, std::pair<int, int>)’:
user.cpp:14:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permsplit.in","r",stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permsplit.out","w",stdout);
^
user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",s+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | OK | 10 | 10 |
2 | 0ms | 448kb | OK | 10 | 10 |
3 | 0ms | 460kb | OK | 10 | 10 |
4 | 48ms | 1328kb | OK | 10 | 10 |
5 | 532ms | 8380kb | OK | 10 | 10 |
6 | 528ms | 8380kb | OK | 10 | 10 |
7 | 536ms | 8380kb | OK | 10 | 10 |
8 | 536ms | 8376kb | OK | 10 | 10 |
9 | 516ms | 8380kb | OK | 10 | 20 |
10 | 284ms | 16096kb | OK | 10 |
Punctaj total | 100 |