Pagini recente » Borderou de evaluare (job #2405059) | Borderou de evaluare (job #3005164) | Borderou de evaluare (job #2855767) | Borderou de evaluare (job #88480) | Borderou de evaluare (job #2733966)
Borderou de evaluare (job #2733966)
Raport evaluator
Compilare:
main.cpp: In constructor 'mmove::mmove(bool, int, int)':
main.cpp:94:8: warning: 'mmove::tip' will be initialized after [-Wreorder]
bool tip;
^~~
main.cpp:93:7: warning: 'int mmove::a' [-Wreorder]
int a, b;
^
main.cpp:96:3: warning: when initialized here [-Wreorder]
mmove(bool _tip = false, int _a = 0, int _b = 0) : tip(_tip), a(_a), b(_b) {}
^~~~~
main.cpp: In function 'void solve_lines()':
main.cpp:117:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a[i][1] == (i + match) % 2)
^
main.cpp:123:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v0.size(); i++)
~~^~~~~~~~~~~
main.cpp: In function 'void solve_cols()':
main.cpp:144:7: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(a[1][j] == (j + match) % 2)
^
main.cpp:150:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v0.size(); i++)
~~^~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:185:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<mmove>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", moves.size());
^
main.cpp:187:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<mmove>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n", moves.size());
^
main.cpp:188:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < moves.size(); i++) {
~~^~~~~~~~~~~~~~
main.cpp:160:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("polihroniade.in", "r", stdin);
^
main.cpp:161:43: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("polihroniade.out", "w", stdout);
^
main.cpp:163:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &p, &t);
^
main.cpp:166:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
main.cpp:168:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp: In function 'bool check_lc()':
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 5ms | 524kb | Corect! | 14 |
2 | 23ms | 2883kb | Corect! | 13 |
3 | 29ms | 4194kb | Corect! | 13 |
4 | 3ms | 262kb | Corect! | 5 |
5 | 4ms | 393kb | Corect! | 5 |
6 | 5ms | 524kb | Corect! | 6 |
7 | 8ms | 917kb | Corect! | 6 |
8 | 13ms | 1703kb | Corect! | 6 |
9 | 27ms | 4194kb | Corect! | 6 |
10 | 4ms | 262kb | Corect! | 2 |
11 | 4ms | 393kb | Corect! | 4 |
12 | 5ms | 524kb | Corect! | 4 |
13 | 8ms | 917kb | Corect! | 4 |
14 | 13ms | 1703kb | Corect! | 6 |
15 | 28ms | 4194kb | Corect! | 6 |
Punctaj total | 100 |