Pagini recente » Borderou de evaluare (job #1414799) | Borderou de evaluare (job #1005046) | Borderou de evaluare (job #2445691) | Borderou de evaluare (job #611456) | Borderou de evaluare (job #1213489)
Borderou de evaluare (job #1213489)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:13:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (n%2) printf("%d %d %d",n/2+1,n/2,0);
^
user.cpp:13:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:14:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
else printf("%d %d %d",n/2,-(n/2-1),1);
^
user.cpp:14:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp: In function ‘void openfile()’:
user.cpp:5:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triplet.in","r",stdin);
^
user.cpp:6:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("triplet.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:12:18: 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 | 0ms | 244kb | Incorect 61 | 0 |
2 | 0ms | 240kb | Incorect 849 | 0 |
3 | 0ms | 236kb | Incorect 1256157565 | 0 |
4 | 0ms | 240kb | Incorect 1754233925523521 | 0 |
5 | 0ms | 244kb | Incorect 1287511 | 0 |
6 | 0ms | 236kb | Incorect 76276453607681 | 0 |
7 | 0ms | 236kb | Incorect 243736258551683521 | 0 |
8 | 0ms | 240kb | Incorect 314399861179703521 | 0 |
9 | 0ms | 240kb | Incorect 968928581 | 0 |
10 | 0ms | 240kb | Incorect 1908429490972689521 | 0 |
Punctaj total | 0 |