Pagini recente » Borderou de evaluare (job #1531856) | Borderou de evaluare (job #1322434) | Borderou de evaluare (job #2653557) | Borderou de evaluare (job #1414145) | Borderou de evaluare (job #1696341)
Borderou de evaluare (job #1696341)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:94:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.in","r",stdin);
^
user.cpp:95:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sir8.out","w",stdout);
^
user.cpp:96:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:102:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:105:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:119:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nrq);
^
user.cpp:123:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:127:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c%d%d",&pos,&c,&a,&b);
^
user.cpp:137:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&pos,&ind,&a,&b);
^
/tmp/ccu220k6.o: In function `main':
user.cpp:(.text.startup+0x6f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 56ms | 1124kb | OK | 10 |
2 | 32ms | 1192kb | OK | 10 |
3 | 496ms | 2540kb | OK | 10 |
4 | 412ms | 2504kb | OK | 10 |
5 | 424ms | 2548kb | OK | 10 |
6 | 400ms | 2640kb | OK | 10 |
7 | 420ms | 2648kb | OK | 10 |
8 | 484ms | 2644kb | OK | 10 |
9 | 364ms | 2640kb | OK | 10 |
10 | 400ms | 2652kb | OK | 10 |
Punctaj total | 100 |