Pagini recente » Borderou de evaluare (job #809310) | Borderou de evaluare (job #844704) | Borderou de evaluare (job #1079487) | Borderou de evaluare (job #193785) | Borderou de evaluare (job #1472916)
Borderou de evaluare (job #1472916)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int i = 0; i < m; ++i)
^
user.cpp:23:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (unsigned int j = 0; j < m; ++j)
^
user.cpp:90: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:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:24: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:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:29:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 392kb | OK | 10 |
| 2 | 0ms | 388kb | OK | 10 |
| 3 | 156ms | 3272kb | OK | 10 |
| 4 | 156ms | 3276kb | OK | 10 |
| 5 | 156ms | 3272kb | OK | 10 |
| 6 | 148ms | 3268kb | OK | 10 |
| 7 | 148ms | 3268kb | OK | 10 |
| 8 | 152ms | 3276kb | OK | 10 |
| 9 | 152ms | 3268kb | OK | 10 |
| 10 | 0ms | 348kb | OK | 10 |
| Punctaj total | 100 |