Pagini recente » Borderou de evaluare (job #177111) | Borderou de evaluare (job #195253) | Borderou de evaluare (job #1603911) | Borderou de evaluare (job #3121363) | Borderou de evaluare (job #1293517)
Borderou de evaluare (job #1293517)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:60:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d.\n",sol);
^
user.cpp:23:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.in" ,"r",stdin);
^
user.cpp:24:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresii.out","w",stdout);
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:29:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",s+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | Incorect | 0 |
Punctaj total | 0 |