Pagini recente » Borderou de evaluare (job #1612445) | Borderou de evaluare (job #1732738) | Borderou de evaluare (job #2731050) | Borderou de evaluare (job #2639570) | Borderou de evaluare (job #1916133)
Borderou de evaluare (job #1916133)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(std::vector<std::vector<int> >&, std::vector<int>&, std::vector<int>&, std::vector<bool>&, int)’:
user.cpp:23:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < connections[curr_node].size(); i ++) {
^
user.cpp: In function ‘int main()’:
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in", "r", stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out", "w", stdout);
^
user.cpp:44:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &vals[i]);
^
user.cpp:58:27: 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 | 20ms | 836kb | Incorect | 0 |
2 | 0ms | 428kb | Incorect | 0 |
3 | 0ms | 432kb | Incorect | 0 |
4 | 0ms | 428kb | Incorect | 0 |
5 | 0ms | 424kb | OK | 10 |
6 | 0ms | 432kb | OK | 10 |
7 | 8ms | 784kb | Incorect | 0 |
8 | 16ms | 832kb | Incorect | 0 |
9 | 20ms | 836kb | Incorect | 0 |
10 | 16ms | 836kb | Incorect | 0 |
Punctaj total | 20 |