Pagini recente » Borderou de evaluare (job #908497) | Borderou de evaluare (job #2844306) | Borderou de evaluare (job #1822788) | Borderou de evaluare (job #2723105) | Borderou de evaluare (job #1225738)
Borderou de evaluare (job #1225738)
Raport evaluator
Compilare:
user.cpp: In function ‘void DepthFirstSearch(int)’:
user.cpp:38:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < G[X].size(); i++) {
^
user.cpp:48:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < F[X].size(); i++) {
^
user.cpp:56:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < F[X].size(); i++) {
^
user.cpp:62:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < F[X].size(); i++) {
^
user.cpp: In function ‘int main()’:
user.cpp:95:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", blackEnd[K]);
^
user.cpp:76:34: 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:77:36: 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:79: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:81:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &X);
^
user.cpp:85:28: 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 | 4ms | 2796kb | OK | 10 |
2 | 4ms | 2800kb | OK | 10 |
3 | 4ms | 2804kb | OK | 10 |
4 | 4ms | 2804kb | OK | 10 |
5 | 4ms | 2848kb | OK | 10 |
6 | 4ms | 2848kb | OK | 10 |
7 | 76ms | 4252kb | OK | 10 |
8 | 164ms | 5428kb | OK | 10 |
9 | 216ms | 6516kb | OK | 10 |
10 | 284ms | 7552kb | OK | 10 |
Punctaj total | 100 |