Pagini recente » Borderou de evaluare (job #1108141) | Borderou de evaluare (job #2455294) | Borderou de evaluare (job #1805921) | Borderou de evaluare (job #2113506) | Borderou de evaluare (job #2190181)
Borderou de evaluare (job #2190181)
Raport evaluator
Compilare:
user.cpp: In function ‘int afis()’:
user.cpp:11:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",Q[i]);
^
user.cpp:13:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d ",R[i]);
^
user.cpp:15:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:20:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&N);
^
user.cpp:23:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:39:13: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if(Q[st1]+R[st2]<min||min==0);
^~
user.cpp:40:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
{
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
user.cpp:20:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:23:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2712kb | OK | 10 |
2 | 0ms | 2716kb | OK | 10 |
3 | 0ms | 2724kb | OK | 10 |
4 | 4ms | 2824kb | OK | 10 |
5 | 32ms | 3528kb | OK | 10 |
6 | 260ms | 16140kb | OK | 10 |
7 | 216ms | 16104kb | OK | 10 |
8 | 296ms | 16140kb | OK | 10 |
9 | 324ms | 16320kb | OK | 10 |
10 | 0ms | 2708kb | OK | 10 |
Punctaj total | 100 |