Pagini recente » Borderou de evaluare (job #751640) | Borderou de evaluare (job #2910861) | Borderou de evaluare (job #1581415) | Borderou de evaluare (job #1305139) | Borderou de evaluare (job #1498594)
Borderou de evaluare (job #1498594)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:25: warning: format ‘%c’ expects a matching ‘char*’ argument [-Wformat=]
scanf("%c*%c",&x);
^
user.cpp:18:21: warning: unused variable ‘s’ [-Wunused-variable]
int k, n, t, d, i, s;
^
user.cpp:14:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.in", "r", stdin);
^
user.cpp:15:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("furnici.out", "w", stdout);
^
user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&k,&n);
^
user.cpp:26:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&d,&x);
^
user.cpp:27:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c*%c",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 4ms | 260kb | OK | 10 |
6 | 16ms | 268kb | OK | 10 |
7 | 20ms | 264kb | OK | 10 |
8 | 28ms | 264kb | OK | 10 |
9 | 48ms | 268kb | OK | 10 |
10 | 56ms | 260kb | OK | 10 |
Punctaj total | 100 |