Pagini recente » Cod sursa (job #1161065) | Borderou de evaluare (job #2788122) | Borderou de evaluare (job #2054270) | Segmente | Borderou de evaluare (job #2544415)
Borderou de evaluare (job #2544415)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:16:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0 ; j < G[u].size() && st[0] == 0 ; j ++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:51:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fantasy.in" , "r" , stdin);
^
main.cpp:52:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fantasy.out" , "w" , stdout);
^
main.cpp:54:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &t);
^
main.cpp:57:46: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d" , &n , &d , &c , &v);
^
main.cpp:60:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &x , &y);
^
main.cpp: In function 'int valid2(int)':
main.cpp:45:24: warning: 'nod' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(fd[nod] > fc[nod])
~~~~~~^
main.cpp: In function 'int main()':
main.cpp:45:24: warning: 'nod' may be used uninitialized in this function [-Wmaybe-uninitialized]
if(fd[nod] > fc[nod])
~~~~~~^
main.cpp:37:21: note: 'nod' was declared here
int i , minim , nod;
^~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | Incorect | 0 |
| 3 | 4ms | 131kb | Incorect | 0 |
| 4 | 14ms | 262kb | Incorect | 0 |
| 5 | 15ms | 262kb | Incorect | 0 |
| 6 | 20ms | 262kb | Incorect | 0 |
| 7 | 23ms | 262kb | Incorect | 0 |
| 8 | 29ms | 262kb | Incorect | 0 |
| 9 | 33ms | 262kb | Incorect | 0 |
| 10 | 40ms | 262kb | Incorect | 0 |
| Punctaj total | 10 |