Pagini recente » Cod sursa (job #950698) | Borderou de evaluare (job #2716105) | Borderou de evaluare (job #1503037) | Borderou de evaluare (job #1956042) | Borderou de evaluare (job #1523776)
Borderou de evaluare (job #1523776)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j;
^
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.in","r",stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("patrate6.out","w",stdout);
^
user.cpp:11:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:13:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 320kb | Incorect | 0 |
| 4 | 32ms | 664kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 316kb | OK | 10 |
| 7 | 32ms | 660kb | OK | 10 |
| 8 | 8ms | 352kb | OK | 10 |
| 9 | 40ms | 976kb | OK | 10 |
| 10 | 40ms | 936kb | OK | 10 |
| Punctaj total | 90 |