Pagini recente » Borderou de evaluare (job #121484) | Borderou de evaluare (job #3279675) | Borderou de evaluare (job #2026879) | Borderou de evaluare (job #1272709) | Borderou de evaluare (job #2182080)
Borderou de evaluare (job #2182080)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&n);
^
user.cpp:12:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&cur);
^
user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d",sol);
^
user.cpp:6:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{ freopen("operatii.in","r",stdin);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("operatii.out","w",stdout);
^
user.cpp:9:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&n);
^
user.cpp:12:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&cur);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 1316kb | Incorect | 0 | 0 |
2 | 0ms | 1304kb | Incorect | 0 | 0 |
3 | 0ms | 1320kb | Incorect | 0 | 0 |
4 | 0ms | 1328kb | Incorect | 0 | 0 |
5 | 0ms | 1352kb | Incorect | 0 | 0 |
6 | 0ms | 1228kb | Incorect | 0 |
7 | 0ms | 1336kb | Incorect | 0 | 0 |
8 | 0ms | 1320kb | Incorect | 0 |
9 | 0ms | 1228kb | Incorect | 0 | 0 |
10 | 0ms | 1240kb | Incorect | 0 | 0 |
Punctaj total | 0 |