Pagini recente » Cod sursa (job #2810728) | Borderou de evaluare (job #1050927) | Borderou de evaluare (job #1039538) | Cod sursa (job #2810733) | Borderou de evaluare (job #1738631)
Borderou de evaluare (job #1738631)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &N, &M);
^
user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:43:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", getNb(c, start, start + M - 1));
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.in", "r", stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trompeta.out", "w", stdout);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &N, &M);
^
user.cpp:30:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", c);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | Incorect | 0 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 0ms | 268kb | Incorect | 0 |
| 4 | 0ms | 264kb | Incorect | 0 |
| 5 | 0ms | 264kb | Incorect | 0 |
| 6 | Depăşit | 340kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 336kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1220kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1220kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1220kb | Time limit exceeded. | 0 |
| Punctaj total | 0 |