Pagini recente » Borderou de evaluare (job #283310) | Cod sursa (job #3207696) | Borderou de evaluare (job #791876) | Borderou de evaluare (job #607966) | Borderou de evaluare (job #1848634)
Borderou de evaluare (job #1848634)
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 | 36ms | Depăşit | Memory limit exceeded. | 0 |
3 | 32ms | Depăşit | Memory limit exceeded. | 0 |
4 | 32ms | Depăşit | Memory limit exceeded. | 0 |
5 | 32ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |