Pagini recente » Borderou de evaluare (job #1160788) | Borderou de evaluare (job #2494319) | Borderou de evaluare (job #681910) | Borderou de evaluare (job #1254454) | Borderou de evaluare (job #1696340)
Borderou de evaluare (job #1696340)
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/ccA4rPbU.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 1132kb | OK | 10 |
2 | 32ms | 1204kb | OK | 10 |
3 | 496ms | 2548kb | OK | 10 |
4 | 396ms | 2512kb | OK | 10 |
5 | 400ms | 2564kb | OK | 10 |
6 | 376ms | 2656kb | OK | 10 |
7 | 384ms | 2660kb | OK | 10 |
8 | 432ms | 2652kb | OK | 10 |
9 | 392ms | 2652kb | OK | 10 |
10 | 372ms | 2664kb | OK | 10 |
Punctaj total | 100 |