Pagini recente » Borderou de evaluare (job #3256848) | Borderou de evaluare (job #2235872) | Borderou de evaluare (job #1071762) | Borderou de evaluare (job #2684810) | Borderou de evaluare (job #2559450)
Borderou de evaluare (job #2559450)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:18:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(it!=tata)
^
main.cpp:12:15: warning: unused variable 'pct' [-Wunused-variable]
int num=0,pct=0;
^~~
main.cpp: In function 'int main()':
main.cpp:71:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::vector<int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",rez.size());
^
main.cpp:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<rez.size(); i++)
~^~~~~~~~~~~
main.cpp:75:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0; j<rez[i].size(); j++)
~^~~~~~~~~~~~~~
main.cpp:83:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",art.size());
^
main.cpp:88:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",critic.size());
^
main.cpp:56:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.in","r",stdin);
^
main.cpp:57:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("biconex.out","w",stdout);
^
main.cpp:60:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
main.cpp:63:28: 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 | 7ms | 2490kb | Corect | 10 |
2 | 7ms | 2490kb | Corect | 10 |
3 | 7ms | 2490kb | Corect | 10 |
4 | 8ms | 2621kb | Corect | 10 |
5 | 9ms | 2621kb | Corect | 10 |
6 | 16ms | 3014kb | Corect | 10 |
7 | 25ms | 3538kb | Corect | 10 |
8 | 343ms | 19910kb | Corect | 10 |
9 | 154ms | 9953kb | Corect | 10 |
10 | 206ms | 12972kb | Corect | 10 |
Punctaj total | 100 |