Borderou de evaluare (job #1597766)
Raport evaluator
Compilare:
user.cpp: In function ‘void kmp(int)’:
user.cpp:30:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp: In function ‘int main()’:
user.cpp:79:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &A[i][j]);
^
user.cpp:84:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &B[i][j]);
^
user.cpp:73:36: 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:74:38: 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:76:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:79:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &A[i][j]);
^
user.cpp:81:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:84:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &B[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 588kb | OK | 10 |
2 | 0ms | 592kb | OK | 10 |
3 | 276ms | 3112kb | OK | 10 |
4 | 264ms | 3116kb | Incorect | 0 |
5 | 268ms | 3112kb | Incorect | 0 |
6 | 260ms | 3112kb | Incorect | 0 |
7 | 256ms | 3112kb | Incorect | 0 |
8 | 256ms | 3104kb | OK | 10 |
9 | 252ms | 3104kb | OK | 10 |
10 | 0ms | 512kb | OK | 10 |
Punctaj total | 60 |