Pagini recente » Borderou de evaluare (job #1734818) | Borderou de evaluare (job #112069) | Borderou de evaluare (job #1221503) | Cod sursa (job #568850) | Borderou de evaluare (job #1865460)
Borderou de evaluare (job #1865460)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("logs.in","r",stdin);
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("logs.out","w",stdout);
^
user.cpp:21: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:22:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch[15001][1501]);
^
user.cpp:23:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(ch[1]+1,mmax,stdin);
^
user.cpp:35:34: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(ch[i]+1,mmax,stdin);
^
user.cpp:34:25: warning: ‘r2’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int r1=i&1,r2=1-r2;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 424kb | OK | 10 |
2 | 8ms | 1256kb | OK | 10 |
3 | 24ms | 1792kb | OK | 10 |
4 | 128ms | 7632kb | OK | 10 |
5 | 140ms | 7628kb | OK | 10 |
6 | 372ms | 14824kb | OK | 10 |
7 | 424ms | 19364kb | OK | 10 |
8 | Depăşit | 18872kb | Time limit exceeded. | 0 |
9 | Depăşit | 22304kb | Time limit exceeded. | 0 |
10 | 376ms | 22304kb | OK | 10 |
Punctaj total | 80 |