Pagini recente » Borderou de evaluare (job #1461506) | Borderou de evaluare (job #632073) | Borderou de evaluare (job #2303103) | Borderou de evaluare (job #868872) | Borderou de evaluare (job #1897476)
Borderou de evaluare (job #1897476)
Raport evaluator
Compilare:
user.cpp: In function ‘void preCompute(int)’:
user.cpp:19:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘int findSubtree(int)’:
user.cpp:43:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘int doBest(int)’:
user.cpp:54:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<G[node].size(); ++i)
^
user.cpp: In function ‘int main()’:
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("petrica.in", "r", stdin);
^
user.cpp:68:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out", "w", stdout);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:75:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &value[i]);
^
user.cpp:78: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 | 276kb | OK! | 10 |
2 | 0ms | 280kb | Wrong answer! | 0 |
3 | 0ms | 284kb | Wrong answer! | 0 |
4 | 0ms | 284kb | Wrong answer! | 0 |
5 | 4ms | 292kb | Wrong answer! | 0 |
6 | 16ms | 300kb | Wrong answer! | 0 |
7 | 24ms | 316kb | Wrong answer! | 0 |
8 | Depăşit | 312kb | Time limit exceeded. | 0 |
9 | Depăşit | 300kb | Time limit exceeded. | 0 |
10 | Depăşit | 296kb | Time limit exceeded. | 0 |
Punctaj total | 10 |