Pagini recente » Borderou de evaluare (job #2212345) | Borderou de evaluare (job #2057281) | Borderou de evaluare (job #581607) | Borderou de evaluare (job #1987764) | Borderou de evaluare (job #1199895)
Borderou de evaluare (job #1199895)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d", &coloanePanou, &coloaneAfis, &nr_trageri);
^
user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d", &tragere[i].x, &tragere[i].y);
^
user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:88:9: warning: unused variable ‘p’ [-Wunused-variable]
int p = tragere[t].x-i+1;
^
user.cpp:17:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tir.in", "r", stdin);
^
user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tir.out", "w", stdout);
^
user.cpp:24:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &coloanePanou, &coloaneAfis, &nr_trageri);
^
user.cpp:27:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &tragere[i].x, &tragere[i].y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 0ms | 636kb | Incorect | 0 |
| 5 | 0ms | 636kb | Incorect | 0 |
| 6 | 0ms | 640kb | Incorect | 0 |
| 7 | 0ms | 636kb | Incorect | 0 |
| 8 | 0ms | 640kb | Incorect | 0 |
| 9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 10 | 0ms | 640kb | Incorect | 0 |
| 11 | 0ms | 640kb | Incorect | 0 |
| 12 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 13 | 0ms | 636kb | Incorect | 0 |
| 14 | 0ms | 636kb | Incorect | 0 |
| 15 | 0ms | 640kb | Incorect | 0 |
| 16 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| 17 | 0ms | 636kb | Incorect | 0 |
| 18 | 0ms | 636kb | Incorect | 0 |
| 19 | 0ms | 640kb | Incorect | 0 |
| 20 | 0ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |