Pagini recente » Borderou de evaluare (job #993282) | Borderou de evaluare (job #2797245) | Borderou de evaluare (job #2271047) | Borderou de evaluare (job #271581) | Borderou de evaluare (job #1332388)
Borderou de evaluare (job #1332388)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[10001]’ [-Wformat=]
scanf("%s" , &s);
^
user.cpp:10:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,i,j,nr,l,c,n1,k,cate=0;
^
user.cpp:8:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.in" , "r" , stdin);
^
user.cpp:9:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rezervatie.out" , "w" , stdout);
^
user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n,&m);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s" , &s);
^
user.cpp:41:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &n1);
^
user.cpp:45:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &l, &c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 10 |
2 | 0ms | 264kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | 0ms | 328kb | OK | 10 |
6 | 0ms | 368kb | OK | 10 |
7 | 0ms | 420kb | OK | 10 |
8 | 0ms | 400kb | OK | 10 |
9 | 0ms | 280kb | OK | 10 |
10 | 0ms | 420kb | OK | 10 |
Punctaj total | 100 |