Pagini recente » Borderou de evaluare (job #1715620) | Borderou de evaluare (job #1914110) | Borderou de evaluare (job #2458738) | Borderou de evaluare (job #686818) | Borderou de evaluare (job #1794918)
Borderou de evaluare (job #1794918)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:104:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.in","r",stdin);
^
user.cpp:105:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rest.out","w",stdout);
^
user.cpp:107:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n, &baza, &p);
^
user.cpp:114:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:117:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.cpp:123:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", & m);
^
user.cpp:124:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:128:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
/tmp/ccLKDq3R.o: In function `main':
user.cpp:(.text.startup+0xe2): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 452kb | OK | 10 | 100 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 16ms | 784kb | OK | 10 |
5 | 44ms | 1164kb | OK | 10 |
6 | 232ms | 3284kb | OK | 10 |
7 | 232ms | 3284kb | OK | 10 |
8 | 604ms | 6500kb | OK | 10 |
9 | 604ms | 6500kb | OK | 10 |
10 | 604ms | 6500kb | OK | 10 |
Punctaj total | 100 |