Pagini recente » Borderou de evaluare (job #1396980) | Borderou de evaluare (job #680517) | Borderou de evaluare (job #1674247) | Borderou de evaluare (job #109808) | Borderou de evaluare (job #2502104)
Borderou de evaluare (job #2502104)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:17:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'void solve(int, int)':
main.cpp:27:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<g[nod].size(); i++){
~^~~~~~~~~~~~~~
main.cpp:35:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<g[nod].size(); j++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:45: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
dp[j][0]=dp[j][1]=viz[j]=dist[j]=0;
~~~~~~~^~
main.cpp:42:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("riremito.in", "r", stdin);
^
main.cpp:43:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("riremito.out", "w", stdout);
^
main.cpp:45:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:47:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &z);
^
main.cpp:51:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:53:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 7ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 7ms | 2490kb | Incorect | 0 |
4 | 6ms | 2490kb | Incorect | 0 |
5 | 15ms | 2621kb | Incorect | 0 |
6 | 94ms | 3424kb | Incorect | 0 |
7 | 278ms | 5046kb | Incorect | 0 |
8 | 673ms | 7208kb | Incorect | 0 |
9 | 859ms | 8777kb | Incorect | 0 |
10 | 823ms | 8658kb | Incorect | 0 |
Punctaj total | 20 |