Pagini recente » Borderou de evaluare (job #2796670) | Borderou de evaluare (job #442956) | Borderou de evaluare (job #2561489) | Borderou de evaluare (job #2149166) | Borderou de evaluare (job #1566989)
Borderou de evaluare (job #1566989)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%lld",&t);
^
user.cpp:30:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",m);
^
user.cpp:32:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",m+1);
^
user.cpp:57:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n",-1);
^
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:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 76ms | 280kb | Gresit. | 0 |
2 | 80ms | 284kb | Gresit. | 0 |
3 | 80ms | 288kb | Gresit. | 0 |
4 | 80ms | 288kb | Gresit. | 0 |
5 | 80ms | 284kb | Gresit. | 0 |
Punctaj total | 0 |