Pagini recente » Borderou de evaluare (job #2195943) | Borderou de evaluare (job #2135789) | Borderou de evaluare (job #2673385) | Borderou de evaluare (job #2986102) | Borderou de evaluare (job #1457276)
Borderou de evaluare (job #1457276)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sons.size(); ++i)
^
user.cpp:33:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < sons.size(); ++j)
^
user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sons.size(); ++i) {
^
user.cpp:40:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int d = 1; d < sons.size(); ++d)
^
user.cpp:41:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < sons.size(); ++i) {
^
user.cpp:43:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j == sons.size())
^
user.cpp: In function ‘int main()’:
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petsoft.in", "r", stdin);
^
user.cpp:65:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petsoft.out", "w", stdout);
^
user.cpp:68:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:71:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &father);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 516kb | Cool! | 10 |
2 | 0ms | 1208kb | Cool! | 10 |
3 | 4ms | 2412kb | Cool! | 10 |
4 | 8ms | 4340kb | Cool! | 10 |
5 | 12ms | 4164kb | Cool! | 10 |
6 | 12ms | 3884kb | Cool! | 10 |
7 | 20ms | 5940kb | Cool! | 10 |
8 | 12ms | 4368kb | Cool! | 10 |
9 | 20ms | 5772kb | Cool! | 10 |
10 | 16ms | 4972kb | Cool! | 10 |
Punctaj total | 100 |