Pagini recente » Borderou de evaluare (job #1979089) | Borderou de evaluare (job #1671827) | Borderou de evaluare (job #3200772) | Borderou de evaluare (job #3199333) | Borderou de evaluare (job #1420704)
Borderou de evaluare (job #1420704)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &T);
^
user.cpp:17:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d %d", &N, &K);
^
user.cpp:17:24: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.in", "r", stdin);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("semipal.out", "w", stdout);
^
user.cpp:14:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &K);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 420kb | Incorect | 0 |
Punctaj total | 0 |