Pagini recente » Borderou de evaluare (job #2205423) | Borderou de evaluare (job #416264) | Borderou de evaluare (job #2423363) | Borderou de evaluare (job #2668962) | Borderou de evaluare (job #1239996)
Borderou de evaluare (job #1239996)
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:46: 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 | 256kb | OK | 10 |
5 | 484ms | 260kb | OK | 10 |
6 | 732ms | 256kb | OK | 10 |
7 | 492ms | 260kb | OK | 10 |
8 | 648ms | 252kb | OK | 10 |
9 | Depăşit | 256kb | Time limit exceeded. | 0 |
10 | 4004ms | 256kb | OK | 10 |
Punctaj total | 90 |