Pagini recente » Borderou de evaluare (job #1471006) | Borderou de evaluare (job #1152924) | Borderou de evaluare (job #2927686) | Borderou de evaluare (job #1240366) | Borderou de evaluare (job #1783129)
Borderou de evaluare (job #1783129)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&c);
^
user.cpp:36:24: warning: ‘mai’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d",mas+mai);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 16ms | 264kb | OK | 10 |
6 | 36ms | 268kb | OK | 10 |
7 | 76ms | 268kb | OK | 10 |
8 | 132ms | 272kb | OK | 10 |
9 | 140ms | 264kb | OK | 10 |
10 | 168ms | 272kb | OK | 10 |
Punctaj total | 100 |