Pagini recente » Borderou de evaluare (job #1688278) | Borderou de evaluare (job #2542351) | Borderou de evaluare (job #1423042) | Cod sursa (job #893501) | Borderou de evaluare (job #1392478)
Borderou de evaluare (job #1392478)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:57:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&k);
^
user.cpp:63:23: warning: unused variable ‘d’ [-Wunused-variable]
long long d, x, y;
^
user.cpp:45:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.in","r",stdin);
^
user.cpp:46:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cabana.out","w",stdout);
^
user.cpp:49:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:57:28: 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 | 428ms | 4168kb | Incorect | 0 |
| Punctaj total | 0 |