Pagini recente » Borderou de evaluare (job #2838113) | Borderou de evaluare (job #2327877) | Borderou de evaluare (job #2981229) | Borderou de evaluare (job #2984666) | Borderou de evaluare (job #1722481)
Borderou de evaluare (job #1722481)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:3:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen ("suma.in","r",stdin);
^
user.cpp:4:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("suma.out","w",stdout);
^
user.cpp:6:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:21:6: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if((k*(k+1)/2-n)%2==0)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 260kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 264kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
Punctaj total | 0 |