Pagini recente » Borderou de evaluare (job #2383210) | Borderou de evaluare (job #479251) | Borderou de evaluare (job #1711350) | Borderou de evaluare (job #2127680) | Borderou de evaluare (job #1458560)
Borderou de evaluare (job #1458560)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:27:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&a[i]), s+=a[i];
^
user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d %d",most1,s-most1);
^
user.cpp:43:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:45:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
most1 > s-most1 ? printf("%d %d",s-most1,most1) : printf("%d %d",most1,s-most1) ;
^
user.cpp:45:55: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:45:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
most1 > s-most1 ? printf("%d %d",s-most1,most1) : printf("%d %d",most1,s-most1) ;
^
user.cpp:45:87: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.cpp:29:9: warning: unused variable ‘maX’ [-Wunused-variable]
int maX=0;
^
user.cpp:22: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);
^
user.cpp:23: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);
^
user.cpp:24:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:27:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]), s+=a[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 440kb | OK | 10 | 40 |
2 | 0ms | 440kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 12ms | 444kb | OK | 10 |
5 | 48ms | 440kb | OK | 10 | 0 |
6 | 0ms | 436kb | OK | 10 |
7 | Depăşit | 420kb | Time limit exceeded. | 0 |
8 | 12ms | 444kb | Incorect | 0 |
9 | 4ms | 444kb | Incorect | 0 | 0 |
10 | Depăşit | 424kb | Time limit exceeded. | 0 |
Punctaj total | 40 |