Pagini recente » Cod sursa (job #1751389) | Borderou de evaluare (job #2195765) | Borderou de evaluare (job #2987518) | Borderou de evaluare (job #1185831) | Borderou de evaluare (job #1848630)
Borderou de evaluare (job #1848630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:32:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &y);
^
user.cpp:35:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &n);
^
user.cpp:38:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &y);
^
user.cpp:41:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d", k);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.in", "r", stdin);
^
user.cpp:29:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dtcsu.out", "w", stdout);
^
user.cpp:32:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
user.cpp:35:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| 2 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 3 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| 4 | 32ms | Depăşit | Memory limit exceeded. | 0 |
| 5 | 36ms | Depăşit | Memory limit exceeded. | 0 |
| Punctaj total | 0 |