Pagini recente » Cod sursa (job #53955) | Borderou de evaluare (job #3170121) | Borderou de evaluare (job #1512008) | Borderou de evaluare (job #1788956) | Borderou de evaluare (job #1257315)
Borderou de evaluare (job #1257315)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:241:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:259:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",temp[c]);
^
user.cpp:238:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bombar.in","r",stdin);
^
user.cpp:239:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bombar.out","w",stdout);
^
user.cpp:241: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 | 744kb | OK | 10 |
| 3 | 20ms | 744kb | OK | 10 |
| 4 | 68ms | 740kb | OK | 10 |
| 5 | 156ms | 740kb | OK | 10 |
| 6 | 172ms | 740kb | OK | 10 |
| 7 | 244ms | 740kb | OK | 10 |
| 8 | 220ms | 740kb | OK | 10 |
| 9 | 272ms | 744kb | OK | 10 |
| 10 | 272ms | 740kb | OK | 10 |
| Punctaj total | 100 |