Pagini recente » Borderou de evaluare (job #1416634) | Borderou de evaluare (job #1298056) | Borderou de evaluare (job #1635532) | Borderou de evaluare (job #1487042) | Borderou de evaluare (job #1736298)
Borderou de evaluare (job #1736298)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:20:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &d[i], &h[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:55:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.in", "r", stdin);
^
user.cpp:56:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("calatorie.out", "w", stdout);
^
user.cpp:60:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &teste);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 32ms | 636kb | OK | 100 |
Punctaj total | 100 |