Pagini recente » Borderou de evaluare (job #2708283) | Borderou de evaluare (job #2325066) | Borderou de evaluare (job #2427834) | Borderou de evaluare (job #1554483) | Borderou de evaluare (job #1964976)
Borderou de evaluare (job #1964976)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs1(int, int)’:
user.cpp:47:44: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default]
sort(begin(g[nod]), end(g[nod]), [far, hsh](int a, int b) {
^
user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here
pair<int, int> hsh[NMAX];
^
user.cpp: In function ‘void dfs2(int, int)’:
user.cpp:75:39: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default]
sort(begin(g[u]), end(g[u]), [hsh](int a, int b) { return hsh[a] < hsh[b]; });
^
user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here
pair<int, int> hsh[NMAX];
^
user.cpp:87:39: warning: capture of variable ‘hsh’ with non-automatic storage duration [enabled by default]
sort(begin(g[u]), end(g[u]), [hsh](int a, int b) { return hsh[a] < hsh[b]; });
^
user.cpp:15:16: note: ‘std::pair<int, int> hsh [100005]’ declared here
pair<int, int> hsh[NMAX];
^
user.cpp: In function ‘char nextch()’:
user.cpp:26:36: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buff, 1, BMAX, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:161:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divizori2.in", "r", stdin);
^
user.cpp:162:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("divizori2.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 4132kb | OK | 10 | 10 |
2 | 16ms | 4152kb | OK | 10 | 0 |
3 | 16ms | 4188kb | Incorect | 0 |
4 | 16ms | 4184kb | OK | 10 |
5 | 20ms | 4232kb | Incorect | 0 |
6 | 20ms | 4320kb | OK | 10 | 0 |
7 | 296ms | 5628kb | Incorect | 0 |
8 | 196ms | 5648kb | OK | 10 |
9 | 404ms | 6488kb | OK | 10 | 0 |
10 | 684ms | 7384kb | Incorect | 0 |
Punctaj total | 10 |