Pagini recente » Borderou de evaluare (job #1519098) | Borderou de evaluare (job #156653) | Cod sursa (job #623997) | Borderou de evaluare (job #943923) | Borderou de evaluare (job #1566232)
Borderou de evaluare (job #1566232)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:29: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n",x-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:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:20: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 | Depăşit | 320kb | Time limit exceeded. | 0 |
2 | Depăşit | 316kb | Time limit exceeded. | 0 |
3 | Depăşit | 316kb | Time limit exceeded. | 0 |
4 | Depăşit | 312kb | Time limit exceeded. | 0 |
5 | Depăşit | 316kb | Time limit exceeded. | 0 |
Punctaj total | 0 |