Pagini recente » Borderou de evaluare (job #1649018) | Borderou de evaluare (job #2924922) | Borderou de evaluare (job #1926372) | Borderou de evaluare (job #2629948) | Borderou de evaluare (job #1273756)
Borderou de evaluare (job #1273756)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:34:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",H[H[0]]);
^
user.cpp:37:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (H[i]>=1000) printf("%d",H[i]);else
^
user.cpp:38:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (H[i]>=100) printf("0%d",H[i]);else
^
user.cpp:39:53: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if (H[i]>=10) printf("00%d",H[i]);else
^
user.cpp:40:44: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("000%d",H[i]);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tamplar.out","w",stdout);
^
user.cpp:26:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 264kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 136ms | 288kb | OK | 10 |
9 | Depăşit | 288kb | Time limit exceeded. | 0 |
10 | Depăşit | 288kb | Time limit exceeded. | 0 |
Punctaj total | 80 |