Pagini recente » Borderou de evaluare (job #35271) | Borderou de evaluare (job #2908207) | Borderou de evaluare (job #2644633) | Borderou de evaluare (job #2423648) | Borderou de evaluare (job #1446415)
Borderou de evaluare (job #1446415)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.in", "r", stdin);
^
user.cpp:16:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("streetcrypto.out", "w", stdout);
^
user.cpp:21:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &t); t; --t)
^
user.cpp:23:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:24:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; ++i) scanf("%lld", p + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 68ms | 296kb | Incorect | 0 |
Punctaj total | 0 |