Pagini recente » Borderou de evaluare (job #1175313) | Borderou de evaluare (job #663745) | Borderou de evaluare (job #1556061) | Borderou de evaluare (job #2810002) | Borderou de evaluare (job #1699884)
Borderou de evaluare (job #1699884)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progr2.in", "r", stdin);
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progr2.out", "w", stdout);
^
user.cpp:33:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:36:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:37:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; i++) scanf("%d", &v[i]), add(v[i], i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 804ms | 22028kb | OK | 100 |
Punctaj total | 100 |