Pagini recente » Borderou de evaluare (job #981964) | Borderou de evaluare (job #3042090) | Borderou de evaluare (job #1893157) | Borderou de evaluare (job #2979284) | Borderou de evaluare (job #1615951)
Borderou de evaluare (job #1615951)
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:24: warning: unused variable ‘s’ [-Wunused-variable]
int k, n, t, d, i, s;
^
user.cpp:14:38: 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:40: 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:24: 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:28: 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 | 0ms | 264kb | OK | 10 |
6 | 12ms | 264kb | OK | 10 |
7 | 12ms | 268kb | OK | 10 |
8 | 16ms | 268kb | OK | 10 |
9 | 32ms | 268kb | OK | 10 |
10 | 36ms | 264kb | OK | 10 |
Punctaj total | 100 |