Pagini recente » Borderou de evaluare (job #245762) | Borderou de evaluare (job #3001808) | Borderou de evaluare (job #1266807) | Borderou de evaluare (job #1251374) | Borderou de evaluare (job #1844864)
Borderou de evaluare (job #1844864)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:26:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++) {
^
user.cpp:53:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < list[node].size(); i++)
^
user.cpp:56:45: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < list[node].size(); i++)
^
user.cpp:62:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < list[node].size(); i++) {
^
user.cpp:65:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i != list[node].size() - 1) aux = (aux * r[i + 1]) % mod;
^
user.cpp: In function ‘int main()’:
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:26: 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:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:86: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 | 1648kb | OK | 10 |
2 | 0ms | 1648kb | OK | 10 |
3 | 0ms | 1648kb | OK | 10 |
4 | 0ms | 1644kb | OK | 10 |
5 | 0ms | 1688kb | OK | 10 |
6 | 0ms | 1680kb | OK | 10 |
7 | 36ms | 2720kb | OK | 10 |
8 | 80ms | 3944kb | OK | 10 |
9 | 108ms | 4572kb | OK | 10 |
10 | 140ms | 5384kb | OK | 10 |
Punctaj total | 100 |