Pagini recente » Borderou de evaluare (job #1791241) | Borderou de evaluare (job #2810841) | Borderou de evaluare (job #1145870) | Borderou de evaluare (job #351244) | Borderou de evaluare (job #2361616)
Borderou de evaluare (job #2361616)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:8:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.in","r",stdin);
^
main.cpp:9:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("jocul.out","w",stdout);
^
main.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:14:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
main.cpp:43:11: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d %d",ind,sum-ind);
~~~~~~^~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 524kb | OK | 10 | 40 |
2 | 3ms | 524kb | OK | 10 |
3 | 3ms | 524kb | OK | 10 |
4 | 13ms | 524kb | OK | 10 |
5 | 44ms | 524kb | OK | 10 | 40 |
6 | 3ms | 524kb | OK | 10 |
7 | 71ms | 524kb | OK | 10 |
8 | 10ms | 524kb | OK | 10 |
9 | 5ms | 524kb | OK | 10 | 20 |
10 | 58ms | 524kb | OK | 10 |
Punctaj total | 100 |