Pagini recente » Borderou de evaluare (job #687810) | Borderou de evaluare (job #1770040) | Borderou de evaluare (job #1383389) | Borderou de evaluare (job #685138) | Borderou de evaluare (job #1239972)
Borderou de evaluare (job #1239972)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:11: warning: statement has no effect [-Wunused-value]
for (t;t>=1;t--)
^
user.cpp:27:11: warning: statement has no effect [-Wunused-value]
for (t;t>=1;t--)
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:10:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:32:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x), nr+=(v[t]==x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | OK | 10 |
4 | 0ms | 256kb | OK | 10 |
5 | 528ms | 256kb | OK | 10 |
6 | 660ms | 256kb | OK | 10 |
7 | 484ms | 256kb | OK | 10 |
8 | 696ms | 260kb | OK | 10 |
9 | 5760ms | 260kb | OK | 10 |
10 | 4064ms | 260kb | OK | 10 |
Punctaj total | 90 |