Pagini recente » Borderou de evaluare (job #492049) | Borderou de evaluare (job #2069830) | Cod sursa (job #309578) | Borderou de evaluare (job #2802744) | Borderou de evaluare (job #1736663)
Borderou de evaluare (job #1736663)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:57: warning: format ‘%s’ expects argument of type ‘char*’, but argument 4 has type ‘char (*)[260]’ [-Wformat=]
scanf ("%d %d %s", &inf[i].f, &inf[i].s, &str[i]);
^
user.cpp:55:19: warning: unused variable ‘x’ [-Wunused-variable]
long long x = calc (inf[i].f, inf[i].s, i);
^
user.cpp:46:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mxl.in", "r", stdin);
^
user.cpp:47:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mxl.out", "w", stdout);
^
user.cpp:49:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &n, &k);
^
user.cpp:52:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %s", &inf[i].f, &inf[i].s, &str[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 10 |
2 | 0ms | 304kb | OK | 10 |
3 | 0ms | 300kb | OK | 10 |
4 | 0ms | 328kb | OK | 10 |
5 | 0ms | 360kb | OK | 10 |
6 | 0ms | 364kb | OK | 10 |
7 | 0ms | 400kb | OK | 10 |
8 | 0ms | 412kb | OK | 10 |
9 | 0ms | 428kb | OK | 10 |
10 | 4ms | 720kb | OK | 10 |
Punctaj total | 100 |