Pagini recente » Borderou de evaluare (job #290408) | Borderou de evaluare (job #14546) | Borderou de evaluare (job #2504475) | Borderou de evaluare (job #3181593) | Borderou de evaluare (job #2352286)
Borderou de evaluare (job #2352286)
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()-i)/2);
^
main.cpp:62:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x; i<sol.size(); i+=2)
~^~~~~~~~~~~
main.cpp:65:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=x+1; 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 | 54ms | 1048kb | OK! | 10 |
9 | 92ms | 1568kb | OK! | 10 |
10 | 21ms | 655kb | Wrong answer! | 0 |
Punctaj total | 90 |