Pagini recente » Borderou de evaluare (job #1795975) | Borderou de evaluare (job #403045) | Borderou de evaluare (job #2126928) | Borderou de evaluare (job #1440193) | Borderou de evaluare (job #1815892)
Borderou de evaluare (job #1815892)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:9: warning: unused variable ‘nr’ [-Wunused-variable]
int nr, n, k, m, st, dr, l1, l2;
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.in", "r", stdin);
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("edist.out", "w", stdout);
^
user.cpp:41:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &n, &m, &k);
^
user.cpp:42:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:43:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
/tmp/cccS2ENR.o: In function `main':
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 276kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 292kb | OK | 10 |
7 | 4ms | 292kb | OK | 10 |
8 | 16ms | 376kb | OK | 10 |
9 | 24ms | 452kb | OK | 10 |
10 | 16ms | 456kb | OK | 10 |
Punctaj total | 100 |