Pagini recente » Cod sursa (job #576265) | Cod sursa (job #127489) | Cod sursa (job #2914560) | Cod sursa (job #2073987) | Borderou de evaluare (job #1345961)
Borderou de evaluare (job #1345961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf ("%d%d%d%d%d", &S, &X, &Y, &Z, &V);
^
user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:51:44: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=]
user.cpp:44:18: warning: unused variable ‘g’ [-Wunused-variable]
int i, k, c, g = 0;
^
user.cpp:47:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("toys.in", "r", stdin);
^
user.cpp:48:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("toys.out", "w", stdout);
^
user.cpp:50:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d", &n, &l, &m);
^
user.cpp:51:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d%d", &S, &X, &Y, &Z, &V);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 276kb | OK | 10 | 10 |
| 2 | 0ms | 272kb | OK | 10 | 10 |
| 3 | 0ms | 276kb | OK | 10 | 10 |
| 4 | 0ms | 280kb | OK | 10 | 10 |
| 5 | 28ms | 3392kb | OK | 10 | 10 |
| 6 | 60ms | 6520kb | OK | 10 | 10 |
| 7 | 92ms | 9636kb | OK | 10 | 10 |
| 8 | 116ms | 12768kb | OK | 10 | 30 |
| 9 | 144ms | 15116kb | OK | 10 |
| 10 | 0ms | 264kb | OK | 10 |
| Punctaj total | 100 |