Pagini recente » Borderou de evaluare (job #561026) | Borderou de evaluare (job #882601) | Borderou de evaluare (job #2756094) | Borderou de evaluare (job #3270634) | Borderou de evaluare (job #1636842)
Borderou de evaluare (job #1636842)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int)’:
user.cpp:19:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < con[nod].size(); i++) {
^
user.cpp:14:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:27:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:30:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:31:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.in", "r", stdin);
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("darb.out", "w", stdout);
^
user.cpp:33:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:36:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2228kb | OK | 10 |
2 | 0ms | 2232kb | OK | 10 |
3 | 0ms | 2232kb | OK | 10 |
4 | 4ms | 2244kb | OK | 10 |
5 | 8ms | 2424kb | OK | 10 |
6 | 36ms | 2912kb | OK | 10 |
7 | 56ms | 3200kb | OK | 10 |
8 | 92ms | 3724kb | OK | 10 |
9 | 88ms | 7984kb | OK | 10 |
10 | 128ms | 4184kb | OK | 10 |
Punctaj total | 100 |