Pagini recente » Cod sursa (job #2234063) | Borderou de evaluare (job #2931824) | Borderou de evaluare (job #2140041) | Borderou de evaluare (job #66302) | Borderou de evaluare (job #1352985)
Borderou de evaluare (job #1352985)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:142:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n",sol);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("perechi3.in","r",stdin);
^
user.cpp:7:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("perechi3.out","w",stdout);
^
user.cpp:10:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:108:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 236kb | Time limit exceeded. | 0 |
Punctaj total | 0 |