Pagini recente » Borderou de evaluare (job #504130) | Borderou de evaluare (job #712609) | Borderou de evaluare (job #2067527) | Borderou de evaluare (job #1539858) | Borderou de evaluare (job #2644804)
Borderou de evaluare (job #2644804)
Raport evaluator
Compilare:
main.cpp: In function 'bool is_valid(int, int, int, std::vector<bool>&, std::vector<bool>&, std::vector<bool>&)':
main.cpp:8:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (y <= n && columns[y] == true || diags1[n + x-y] == true || diags2[x+y] == true)
~~~~~~~^~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:15:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("damesah.in", "r", stdin);
^
main.cpp:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("damesah.out", "w", stdout);
^
main.cpp:19:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
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 | 4ms | 131kb | OK | 10 |
7 | 13ms | 131kb | OK | 10 |
8 | 55ms | 131kb | OK | 10 |
9 | 274ms | 131kb | OK | 10 |
10 | 1000ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 90 |