Pagini recente » Borderou de evaluare (job #2156111) | Borderou de evaluare (job #1050603) | Borderou de evaluare (job #886836) | Borderou de evaluare (job #1073018) | Borderou de evaluare (job #2216386)
Borderou de evaluare (job #2216386)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[n].size(); i++)
~~^~~~~~~~~~~~~
user.cpp: In function ‘int dfs2(int, int)’:
user.cpp:26:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < g[n].size(); i++)
~~^~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:35:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.in", "r", stdin);
^
user.cpp:36:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrica.out", "w", stdout);
^
user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:39:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p[i]);
^
user.cpp:43:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
user.cpp:84:29: warning: ‘gr’ may be used uninitialized in this function [-Wmaybe-uninitialized]
val[gr] -= val[l + 1];
~~~~~~~~^~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1488kb | OK! | 10 |
2 | 0ms | 1488kb | OK! | 10 |
3 | 0ms | 1488kb | OK! | 10 |
4 | 0ms | 1484kb | OK! | 10 |
5 | 4ms | 1488kb | OK! | 10 |
6 | 8ms | 1488kb | OK! | 10 |
7 | 24ms | 1500kb | OK! | 10 |
8 | 60ms | 1488kb | OK! | 10 |
9 | 60ms | 1488kb | OK! | 10 |
10 | 60ms | 1488kb | OK! | 10 |
Punctaj total | 100 |