Pagini recente » Borderou de evaluare (job #3172312) | Borderou de evaluare (job #2596858) | Borderou de evaluare (job #1968223) | Borderou de evaluare (job #2141797) | Borderou de evaluare (job #1632898)
Borderou de evaluare (job #1632898)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%I64d",&n,&m);
^
user.cpp:46:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:50:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d",&a[i]);
^
user.cpp:55:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &b[i]);
^
user.cpp:80:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", sum);
^
user.cpp:43:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.in","r",stdin);
^
user.cpp:44:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsubsum.out","w",stdout);
^
user.cpp:46:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%I64d",&n,&m);
^
user.cpp:50:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d",&a[i]);
^
user.cpp:55:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 312kb | Incorect | 0 | 0 |
2 | 4ms | 316kb | Incorect | 0 |
3 | 4ms | 320kb | Incorect | 0 |
4 | 4ms | 316kb | Incorect | 0 |
5 | 4ms | 316kb | Incorect | 0 |
6 | 4ms | 320kb | Incorect | 0 |
7 | 4ms | 316kb | Incorect | 0 |
8 | 4ms | 316kb | Incorect | 0 |
9 | 4ms | 320kb | Incorect | 0 |
10 | 4ms | 316kb | Incorect | 0 |
Punctaj total | 0 |