Pagini recente » Borderou de evaluare (job #2953548) | Borderou de evaluare (job #446261) | Borderou de evaluare (job #986506) | Borderou de evaluare (job #1624319) | Borderou de evaluare (job #1212352)
Borderou de evaluare (job #1212352)
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:17:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&aux);
^
user.cpp:26: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:17:38: 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 | 248kb | OK | 10 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 0ms | 244kb | OK | 10 |
5 | 16ms | 240kb | OK | 10 |
6 | 36ms | 240kb | OK | 10 |
7 | 88ms | 244kb | OK | 10 |
8 | 140ms | 244kb | OK | 10 |
9 | 164ms | 244kb | OK | 10 |
10 | 176ms | 248kb | OK | 10 |
Punctaj total | 100 |