Pagini recente » Borderou de evaluare (job #327262) | Borderou de evaluare (job #1408403) | Borderou de evaluare (job #2690090) | Borderou de evaluare (job #140272) | Borderou de evaluare (job #1500885)
Borderou de evaluare (job #1500885)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[40]’ [-Wformat=]
scanf("%s",&comp[j]);
^
user.cpp:45:28: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[40]’ [-Wformat=]
scanf("%s",&comp[i]);
^
user.cpp:33:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.in","r",stdin);
^
user.cpp:34:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sabin.out","w",stdout);
^
user.cpp:36:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d\n",&n,&k,&m,&p,&q);
^
user.cpp:39:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&comp[j]);
^
user.cpp:45:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&comp[i]);
^
user.cpp:47:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:49:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 4128kb | OK | 10 |
2 | 8ms | 1076kb | OK | 10 |
3 | 12ms | 2228kb | OK | 10 |
4 | 164ms | 27228kb | OK | 10 |
5 | 372ms | 53148kb | OK | 10 |
6 | 796ms | 110172kb | OK | 10 |
7 | 1224ms | 185492kb | OK | 10 |
8 | 1300ms | 164480kb | OK | 10 |
9 | 1360ms | 172572kb | OK | 10 |
10 | 1344ms | 172580kb | OK | 10 |
Punctaj total | 100 |