Pagini recente » Borderou de evaluare (job #1200597) | Cod sursa (job #2655246) | Cod sursa (job #116753) | Borderou de evaluare (job #1711861) | Borderou de evaluare (job #1226125)
Borderou de evaluare (job #1226125)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for (i=1; i<=n ; ++i) scanf("%d",&a[i]);
^
user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("supermario.in","r",stdin);
^
user.cpp:29:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("supermario.out","w",stdout);
^
user.cpp:30:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:31:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n ; ++i) scanf("%d",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 244kb | OK | 10 | 100 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 248kb | OK | 10 |
| 4 | 0ms | 252kb | OK | 10 |
| 5 | 28ms | 1028kb | OK | 10 |
| 6 | 32ms | 948kb | OK | 10 |
| 7 | 32ms | 1024kb | OK | 10 |
| 8 | 32ms | 1024kb | OK | 10 |
| 9 | 40ms | 1020kb | OK | 10 |
| 10 | 36ms | 1024kb | OK | 10 |
| Punctaj total | 100 |