Pagini recente » Borderou de evaluare (job #2754076) | Borderou de evaluare (job #658516) | Borderou de evaluare (job #2241268) | Borderou de evaluare (job #2945503) | Borderou de evaluare (job #1656844)
Borderou de evaluare (job #1656844)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[201]’ [-Wformat=]
scanf("%s%d",&s,&k);
^
user.cpp:42:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",a[0][k]);
^
user.cpp:72:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",c[0][k]);
^
user.cpp:15:27: warning: variable ‘cine’ set but not used [-Wunused-but-set-variable]
int i,j,k,t,pp,tmin,n,cine;
^
user.cpp:16:15: warning: unused variable ‘sum’ [-Wunused-variable]
long long sum,mini;
^
user.cpp:13:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text2.in","r",stdin);
^
user.cpp:14:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("text2.out","w",stdout);
^
user.cpp:17:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%d",&s,&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 500kb | Corect! | 10 |
2 | 0ms | 436kb | Corect! | 10 |
3 | 0ms | 452kb | Corect! | 10 |
4 | 0ms | 528kb | Corect! | 10 |
5 | 0ms | 748kb | Corect! | 10 |
6 | 0ms | 888kb | Corect! | 10 |
7 | 0ms | 652kb | Corect! | 10 |
8 | 4ms | 1040kb | Corect! | 10 |
9 | 4ms | 1032kb | Corect! | 10 |
10 | 16ms | 1036kb | Corect! | 10 |
Punctaj total | 100 |