Pagini recente » Borderou de evaluare (job #1558782) | Borderou de evaluare (job #1601792) | Borderou de evaluare (job #559260) | Borderou de evaluare (job #1107508) | Borderou de evaluare (job #1846417)
Borderou de evaluare (job #1846417)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in", "r", stdin);
^
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.out", "w", stdout);
^
user.cpp:11:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:18:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c);
^
user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar3.in", "r", stdin);
^
user.cpp:28:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:30:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &c), printf("%d", c - '0');
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 56ms | 268kb | OK | 10 |
5 | 368ms | 268kb | OK | 10 |
6 | 808ms | 272kb | OK | 10 |
7 | Depăşit | 272kb | Time limit exceeded. | 0 |
8 | Depăşit | 268kb | Time limit exceeded. | 0 |
9 | Depăşit | 272kb | Time limit exceeded. | 0 |
10 | Depăşit | 272kb | Time limit exceeded. | 0 |
Punctaj total | 60 |