Pagini recente » Borderou de evaluare (job #1222065) | Borderou de evaluare (job #2562920) | Borderou de evaluare (job #817729) | Borderou de evaluare (job #1634863) | Borderou de evaluare (job #1213720)
Borderou de evaluare (job #1213720)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:19:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:22:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
for (int i=1;i<=n;++i) scanf("%d",&a[i]);
^
user.cpp:21:17: warning: unused variable ‘ok’ [-Wunused-variable]
int ok=0;
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:8:36: 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:9:38: 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: In function ‘int main()’:
user.cpp:16:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:19:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:22:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (int i=1;i<=n;++i) scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2208kb | OK | 10 |
2 | 4ms | 2212kb | OK | 10 |
3 | 4ms | 2208kb | OK | 10 |
4 | 4ms | 2208kb | OK | 10 |
5 | 264ms | 2204kb | OK | 10 |
6 | 336ms | 2212kb | OK | 10 |
7 | 240ms | 2208kb | OK | 10 |
8 | 328ms | 2208kb | OK | 10 |
9 | 288ms | 2208kb | Incorect | 0 |
10 | 440ms | 2208kb | Wall time limit exceeded. | 0 |
Punctaj total | 80 |