Pagini recente » Borderou de evaluare (job #2663107) | Borderou de evaluare (job #1363287) | Borderou de evaluare (job #2187196) | Borderou de evaluare (job #1038555) | Borderou de evaluare (job #1207047)
Borderou de evaluare (job #1207047)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:16:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&aux,&x);
^
user.cpp:16:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp: In function ‘void openfile()’:
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.in","r",stdin);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hashuri.out","w",stdout);
^
user.cpp: In function ‘int main()’:
user.cpp:14:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:16:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&aux,&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 10 |
2 | 0ms | 260kb | OK | 10 | 10 |
3 | 0ms | 252kb | OK | 10 | 10 |
4 | 56ms | 576kb | OK | 10 | 30 |
5 | 96ms | 1032kb | OK | 10 |
6 | 148ms | 3072kb | OK | 10 |
7 | 348ms | 3388kb | OK | 10 | 10 |
8 | 884ms | 12736kb | OK | 10 | 0 |
9 | Depăşit | 15208kb | Time limit exceeded. | 0 |
10 | Depăşit | 12556kb | Time limit exceeded. | 0 |
Punctaj total | 70 |