Pagini recente » Borderou de evaluare (job #595653) | Borderou de evaluare (job #3239348) | Borderou de evaluare (job #1170525) | Borderou de evaluare (job #121978) | Borderou de evaluare (job #1306702)
Borderou de evaluare (job #1306702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%d %d", &n, &p);
^
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:30:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d ", s);
^
user.cpp:52:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d\n", n);
^
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.in", "r", stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.out", "w", stdout);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Te stii ! | 5 |
| 2 | 0ms | 260kb | Te stii ! | 5 |
| 3 | 0ms | 264kb | Te stii ! | 5 |
| 4 | 0ms | 260kb | Te stii ! | 5 |
| 5 | 4ms | 260kb | Te stii ! | 5 |
| 6 | 92ms | 268kb | Te stii ! | 5 |
| 7 | 0ms | 268kb | Te stii ! | 5 |
| 8 | 24ms | 264kb | Te stii ! | 5 |
| 9 | 4ms | 260kb | Te stii ! | 5 |
| 10 | 0ms | 264kb | Te stii ! | 5 |
| 11 | 0ms | 260kb | Incorect ! | 0 |
| 12 | 4ms | 260kb | Incorect ! | 0 |
| 13 | 0ms | 260kb | Incorect ! | 0 |
| 14 | 0ms | 264kb | Incorect ! | 0 |
| 15 | 0ms | 268kb | Incorect ! | 0 |
| 16 | 0ms | 260kb | Incorect ! | 0 |
| 17 | 0ms | 264kb | Incorect ! | 0 |
| 18 | 0ms | 268kb | Incorect ! | 0 |
| 19 | 0ms | 264kb | Incorect ! | 0 |
| 20 | 0ms | 268kb | Incorect ! | 0 |
| Punctaj total | 50 |