Pagini recente » Borderou de evaluare (job #1074489) | Borderou de evaluare (job #605306) | Borderou de evaluare (job #2334835) | Borderou de evaluare (job #2659443) | Borderou de evaluare (job #2426742)
Borderou de evaluare (job #2426742)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, long long int, std::vector<int>*)':
main.cpp:12:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<ma[x].size(); ++i)
~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:17:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in","r",stdin);
^
main.cpp:18:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out","w",stdout);
^
main.cpp:20:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
main.cpp:25:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:27:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:30:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 603ms | 1703kb | Time limit exceeded | 0 |
Punctaj total | 0 |