Pagini recente » Borderou de evaluare (job #824971) | Borderou de evaluare (job #3113009) | Borderou de evaluare (job #1328412) | Borderou de evaluare (job #2659211) | Borderou de evaluare (job #1306942)
Borderou de evaluare (job #1306942)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:11:9: warning: unused variable ‘i’ [-Wunused-variable]
int i;
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.in","r",stdin);
^
user.cpp:10:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("saracsaurege.out","w",stdout);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&M);
^
user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Array[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:51:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.cpp:55:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(Str);
^
/tmp/ccjWFw1v.o: In function `main':
user.cpp:(.text.startup+0x69): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 276kb | Incorect | 0 |
3 | Depăşit | 428kb | Time limit exceeded. | 0 |
4 | 836ms | 276kb | Incorect | 0 |
5 | 132ms | 964kb | OK | 10 |
6 | 72ms | 964kb | Incorect | 0 |
7 | Depăşit | 956kb | Time limit exceeded. | 0 |
8 | Depăşit | 960kb | Time limit exceeded. | 0 |
9 | Depăşit | 964kb | Time limit exceeded. | 0 |
10 | Depăşit | 964kb | Time limit exceeded. | 0 |
Punctaj total | 10 |