Pagini recente » Borderou de evaluare (job #4078) | Borderou de evaluare (job #17154) | Borderou de evaluare (job #1908425) | Borderou de evaluare (job #1281054) | Borderou de evaluare (job #1656212)
Borderou de evaluare (job #1656212)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d%d",&n,&P);
^
user.cpp:5:14: warning: unused variable ‘j’ [-Wunused-variable]
int nr,i,j,P,sum,cmax,cnr,aux,a,pp;
^
user.cpp:5:31: warning: unused variable ‘aux’ [-Wunused-variable]
int nr,i,j,P,sum,cmax,cnr,aux,a,pp;
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.in","r",stdin);
^
user.cpp:9:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.out","w",stdout);
^
user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
user.cpp:32:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&P);
^
user.cpp:34:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d%d",&n,&P);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Te stii ! | 5 |
2 | 0ms | 276kb | Te stii ! | 5 |
3 | 0ms | 280kb | Te stii ! | 5 |
4 | 0ms | 280kb | Te stii ! | 5 |
5 | 0ms | 276kb | Te stii ! | 5 |
6 | 0ms | 276kb | Te stii ! | 5 |
7 | 0ms | 284kb | Te stii ! | 5 |
8 | 0ms | 280kb | Te stii ! | 5 |
9 | 0ms | 280kb | Te stii ! | 5 |
10 | 0ms | 280kb | Te stii ! | 5 |
11 | 0ms | 280kb | Te stii ! | 5 |
12 | 0ms | 284kb | Te stii ! | 5 |
13 | 0ms | 276kb | Te stii ! | 5 |
14 | 0ms | 280kb | Te stii ! | 5 |
15 | 0ms | 284kb | Te stii ! | 5 |
16 | 0ms | 284kb | Te stii ! | 5 |
17 | 0ms | 276kb | Te stii ! | 5 |
18 | 0ms | 276kb | Te stii ! | 5 |
19 | 0ms | 284kb | Te stii ! | 5 |
20 | 0ms | 280kb | Te stii ! | 5 |
Punctaj total | 100 |