Pagini recente » Borderou de evaluare (job #85838) | Borderou de evaluare (job #1669373) | Borderou de evaluare (job #974554) | Borderou de evaluare (job #630706) | Borderou de evaluare (job #1372722)
Borderou de evaluare (job #1372722)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:18:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&aux);
^
user.cpp:28:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",max1+max2);
^
user.cpp: In function ‘void openfiles()’:
user.cpp:8:33: 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:9:35: 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: In function ‘int main()’:
user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 444kb | OK | 10 |
5 | 20ms | 444kb | OK | 10 |
6 | 36ms | 448kb | OK | 10 |
7 | 88ms | 444kb | OK | 10 |
8 | 144ms | 444kb | OK | 10 |
9 | 156ms | 440kb | OK | 10 |
10 | 184ms | 440kb | OK | 10 |
Punctaj total | 100 |