Pagini recente » Borderou de evaluare (job #2082562) | Borderou de evaluare (job #1909409) | Borderou de evaluare (job #316731) | Borderou de evaluare (job #1968213) | Borderou de evaluare (job #1472912)
Borderou de evaluare (job #1472912)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0, now; j < n; ++j){
^
user.cpp:34:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (!i && j && j < n - 1) LP1 = (LP1 * base) % MOD;
^
user.cpp:44:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0, now, start; j < m; ++j){
^
user.cpp:52:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j >= n){ /* Drop the last two values of line fron hash */
^
user.cpp:57:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j >= n) /* make a new start and add it in hash */
^
user.cpp:62:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (j >= n - 1){
^
user.cpp:89:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", ans);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tetris2.in", "r", stdin);
^
user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tetris2.out", "w", stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &M[i][j]);
^
user.cpp:25:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:28:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N[i][j]);
^
user.cpp:82:48: warning: ‘hash2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (Rhash == Rhash2 && hash == test[n - 1] && hash2 == test[0])
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 392kb | Incorect | 0 |
2 | 0ms | 388kb | OK | 10 |
3 | 84ms | 3276kb | Incorect | 0 |
4 | 84ms | 3272kb | Incorect | 0 |
5 | 88ms | 3268kb | OK | 10 |
6 | 76ms | 3272kb | Incorect | 0 |
7 | 76ms | 3272kb | Incorect | 0 |
8 | 76ms | 3276kb | Incorect | 0 |
9 | 76ms | 3272kb | Incorect | 0 |
10 | 0ms | 352kb | OK | 10 |
Punctaj total | 30 |