Pagini recente » Borderou de evaluare (job #2888312) | Borderou de evaluare (job #1962503) | Borderou de evaluare (job #750261) | Borderou de evaluare (job #224141) | Borderou de evaluare (job #1652269)
Borderou de evaluare (job #1652269)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:45:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < query[node].size(); i++)
^
user.cpp: In function ‘void readInput(int, int)’:
user.cpp:63:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(input);
^
user.cpp:64:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(input);
^
user.cpp:82:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(input);
^
user.cpp:103:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:110:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:111:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:114:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
/tmp/ccEXLzpg.o: In function `readInput(int, int)':
user.cpp:(.text+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 7568kb | OK | 10 |
2 | 12ms | 7568kb | OK | 10 |
3 | 20ms | 7744kb | OK | 10 |
4 | 20ms | 7724kb | Incorect | 0 |
5 | 68ms | 8968kb | OK | 10 |
6 | 284ms | 15040kb | OK | 10 |
7 | 448ms | 18872kb | OK | 10 |
8 | Depăşit | 27184kb | Time limit exceeded. | 0 |
9 | Depăşit | 28960kb | Time limit exceeded. | 0 |
10 | Depăşit | 30364kb | Time limit exceeded. | 0 |
Punctaj total | 60 |