Pagini recente » Borderou de evaluare (job #1114742) | Borderou de evaluare (job #919847) | Borderou de evaluare (job #1086064) | Borderou de evaluare (job #539226) | Borderou de evaluare (job #1239980)
Borderou de evaluare (job #1239980)
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 | 252kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 252kb | OK | 10 |
| 5 | 516ms | 256kb | OK | 10 |
| 6 | 688ms | 256kb | OK | 10 |
| 7 | 488ms | 256kb | OK | 10 |
| 8 | 728ms | 260kb | OK | 10 |
| 9 | Depăşit | 260kb | Time limit exceeded. | 0 |
| 10 | 4144ms | 256kb | OK | 10 |
| Punctaj total | 90 |