Pagini recente » Borderou de evaluare (job #1145901) | Borderou de evaluare (job #2500181) | Borderou de evaluare (job #1278180) | Borderou de evaluare (job #1595242) | Borderou de evaluare (job #1346683)
Borderou de evaluare (job #1346683)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.in", "rt", stdin);
^
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifre4.out", "wt", stdout);
^
user.cpp:21:22: 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:22:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &r, &p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1700ms | 27960kb | OK | 100 |
Punctaj total | 100 |