Pagini recente » Borderou de evaluare (job #2461793) | Borderou de evaluare (job #2656868) | Borderou de evaluare (job #2531687) | Borderou de evaluare (job #2284623) | Borderou de evaluare (job #2502116)
Borderou de evaluare (job #2502116)
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 | 9ms | 2490kb | OK | 10 |
2 | 7ms | 2490kb | OK | 10 |
3 | 6ms | 2490kb | Incorect | 0 |
4 | 7ms | 2490kb | Incorect | 0 |
5 | 12ms | 2691kb | Incorect | 0 |
6 | 94ms | 3518kb | Incorect | 0 |
7 | 302ms | 5001kb | Incorect | 0 |
8 | 655ms | 7229kb | Incorect | 0 |
9 | 801ms | 8781kb | Incorect | 0 |
10 | 903ms | 8519kb | Incorect | 0 |
Punctaj total | 20 |