Pagini recente » Borderou de evaluare (job #1462834) | Borderou de evaluare (job #2470932) | Borderou de evaluare (job #1434401) | Borderou de evaluare (job #2516666) | Borderou de evaluare (job #1659053)
Borderou de evaluare (job #1659053)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:87:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.in","r",stdin);
^
user.cpp:88:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("showroom.out","w",stdout);
^
user.cpp:90:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d\n", &n, &x, &r, &k);
^
user.cpp:94:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1); int m = strlen(s+1); s[m+1] = ' ';
^
user.cpp:107:35: warning: ‘f’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else unite(f , ss);
^
/tmp/ccacEvpV.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 536kb | OK | 10 |
4 | 0ms | 580kb | OK | 10 |
5 | 12ms | 992kb | OK | 10 |
6 | 28ms | 1424kb | OK | 10 |
7 | 56ms | 2164kb | OK | 10 |
8 | 160ms | 5008kb | OK | 10 |
9 | 16ms | 476kb | OK | 10 |
10 | 160ms | 5008kb | OK | 10 |
Punctaj total | 100 |