Pagini recente » Borderou de evaluare (job #3209224) | Borderou de evaluare (job #723978) | Borderou de evaluare (job #85648) | Borderou de evaluare (job #2531678) | Borderou de evaluare (job #1532309)
Borderou de evaluare (job #1532309)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:23: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%ld\n", &n);
^
user.cpp:23:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size (); i++) {
^
user.cpp:24:14: warning: unused variable ‘c’ [-Wunused-variable]
char c = v[i];
^
user.cpp:11:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("calandrinon.in", "rt", stdin);
^
user.cpp:12:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("calandrinon.out", "wt", stdout);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld\n", &n);
^
user.cpp:17:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &c);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 420kb | OK | 5 |
✓ | 2 | 0ms | 424kb | OK | 5 |
✓ | 3 | 0ms | 420kb | Incorect | 0 |
✓ | 4 | 0ms | 420kb | Incorect | 0 |
✓ | 5 | 0ms | 420kb | OK | 5 |
✓ | 6 | 0ms | 436kb | OK | 5 |
✓ | 7 | 0ms | 420kb | OK | 5 |
✓ | 8 | 0ms | 432kb | OK | 5 |
✓ | 9 | 0ms | 420kb | OK | 5 |
✓ | 10 | 0ms | 420kb | OK | 5 |
✓ | 11 | 8ms | 416kb | Incorect | 0 |
✓ | 12 | 8ms | 424kb | Incorect | 0 |
✓ | 13 | 8ms | 420kb | OK | 5 |
✓ | 14 | 8ms | 424kb | Incorect | 0 |
✓ | 15 | 80ms | 420kb | Incorect | 0 |
✓ | 16 | 84ms | 416kb | Incorect | 0 |
✓ | 17 | 80ms | 420kb | Incorect | 0 |
✓ | 18 | 68ms | 416kb | Incorect | 0 |
✓ | 19 | 68ms | 420kb | Incorect | 0 |
✓ | 20 | 84ms | 416kb | Incorect | 0 |
Punctaj total | 45 |