Pagini recente » Borderou de evaluare (job #725321) | Profil mcartarescu | Atasamentele paginii Grigore Moisil 2011 | Borderou de evaluare (job #246731) | Borderou de evaluare (job #1759927)
Borderou de evaluare (job #1759927)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld ",1<<i);
^
user.cpp:56:44: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld ",1<<i);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hercule.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&k);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 108ms | 276kb | OK | 20 |
| 2 | 108ms | 268kb | OK | 20 |
| 3 | 108ms | 272kb | OK | 20 |
| 4 | 112ms | 268kb | OK | 20 |
| 5 | 108ms | 276kb | OK | 20 |
| Punctaj total | 100 |