Pagini recente » Borderou de evaluare (job #507471) | Borderou de evaluare (job #568374) | Borderou de evaluare (job #363630) | Borderou de evaluare (job #2159444) | Borderou de evaluare (job #1407927)
Borderou de evaluare (job #1407927)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&K,&M);
^
user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cupaberii.in","r",stdin);
^
user.cpp:49:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cupaberii.out","w",stdout);
^
user.cpp:50:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:52:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&K,&M);
^
user.cpp:66:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 824ms | 8908kb | OK | 100 |
Punctaj total | 100 |