Pagini recente » Borderou de evaluare (job #1277984) | Borderou de evaluare (job #2710611) | Borderou de evaluare (job #2290730) | Borderou de evaluare (job #812013) | Borderou de evaluare (job #1736661)
Borderou de evaluare (job #1736661)
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:13: warning: unused variable ‘x’ [-Wunused-variable]
int 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 | 296kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 316kb | OK | 10 |
5 | 0ms | 344kb | OK | 10 |
6 | 0ms | 352kb | OK | 10 |
7 | 0ms | 392kb | OK | 10 |
8 | 0ms | 388kb | OK | 10 |
9 | 0ms | 412kb | Incorect | 0 |
10 | 4ms | 700kb | OK | 10 |
Punctaj total | 90 |