Pagini recente » Borderou de evaluare (job #2441509) | Borderou de evaluare (job #1237930) | Borderou de evaluare (job #2968817) | Borderou de evaluare (job #2616945) | Borderou de evaluare (job #2356362)
Borderou de evaluare (job #2356362)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(col[coll].size()==cntcol[coll])
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:43:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(lin[linn].size()==cntlin[linn])
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:60:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<Points>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", (sol.size()-x)/2);
^
main.cpp:62:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x; i<sol.size(); i+=2)
~^~~~~~~~~~~
main.cpp:65:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x+1; i<=sol.size(); i+=2)
~^~~~~~~~~~~~
main.cpp:69:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x+1; i<=sol.size(); i+=2)
~^~~~~~~~~~~~
main.cpp:72:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x; i<sol.size(); i+=2)
~^~~~~~~~~~~
main.cpp:15:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("zaharel.in", "r",stdin);
^
main.cpp:16:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zaharel.out", "w",stdout);
^
main.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:21:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d %c", &x, &y, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 3ms | 131kb | OK! | 10 |
6 | 6ms | 262kb | OK! | 10 |
7 | 15ms | 393kb | OK! | 10 |
8 | 53ms | 1048kb | OK! | 10 |
9 | 93ms | 1568kb | OK! | 10 |
10 | 20ms | 655kb | OK! | 10 |
Punctaj total | 100 |