Pagini recente » Borderou de evaluare (job #512269) | Borderou de evaluare (job #2836604) | Borderou de evaluare (job #752098) | Borderou de evaluare (job #2378989) | Borderou de evaluare (job #2502071)
Borderou de evaluare (job #2502071)
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 | 6ms | 2490kb | OK | 10 |
2 | 9ms | 2490kb | OK | 10 |
3 | 9ms | 2490kb | Incorect | 0 |
4 | 7ms | 2490kb | Incorect | 0 |
5 | 15ms | 2621kb | Incorect | 0 |
6 | 68ms | 3407kb | Incorect | 0 |
7 | 258ms | 4980kb | Incorect | 0 |
8 | 641ms | 7356kb | Incorect | 0 |
9 | 800ms | 8781kb | Incorect | 0 |
10 | 827ms | 8519kb | Incorect | 0 |
Punctaj total | 20 |