Pagini recente » Borderou de evaluare (job #2596728) | Borderou de evaluare (job #2574292) | Borderou de evaluare (job #861133) | Borderou de evaluare (job #2767337) | Borderou de evaluare (job #1499561)
Borderou de evaluare (job #1499561)
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 | 264kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 4ms | 264kb | OK | 10 |
6 | 16ms | 268kb | OK | 10 |
7 | 16ms | 268kb | OK | 10 |
8 | 28ms | 264kb | OK | 10 |
9 | 44ms | 264kb | OK | 10 |
10 | 52ms | 264kb | OK | 10 |
Punctaj total | 100 |