Pagini recente » Borderou de evaluare (job #934496) | Borderou de evaluare (job #202374) | Borderou de evaluare (job #2126770) | Borderou de evaluare (job #2082466) | Borderou de evaluare (job #1898543)
Borderou de evaluare (job #1898543)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:9: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, n;
^
user.cpp:9:12: warning: unused variable ‘s’ [-Wunused-variable]
long long s=0;
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in", "r", stdin);
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out", "w", stdout);
^
user.cpp:12:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:13:37: 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 |
1 | 0ms | 408kb | Incorect | 0 |
2 | 0ms | 416kb | Incorect | 0 |
3 | 0ms | 416kb | Incorect | 0 |
4 | 16ms | 764kb | Incorect | 0 |
5 | 20ms | 816kb | Incorect | 0 |
6 | 24ms | 900kb | Incorect | 0 |
7 | 40ms | 1136kb | Incorect | 0 |
8 | 36ms | 1156kb | Incorect | 0 |
9 | 40ms | 1180kb | Incorect | 0 |
10 | 40ms | 1188kb | Incorect | 0 |
Punctaj total | 0 |