Pagini recente » Borderou de evaluare (job #251298) | Borderou de evaluare (job #1109411) | Borderou de evaluare (job #876450) | Borderou de evaluare (job #2794079) | Borderou de evaluare (job #1238817)
Borderou de evaluare (job #1238817)
Raport evaluator
Compilare:
user.cpp: In member function ‘void huge::read()’:
user.cpp:25:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000001]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp: In member function ‘long long int& huge::operator%(long long int)’:
user.cpp:38:19: warning: reference to local variable ‘r’ returned [-Wreturn-local-addr]
long long r=0;
^
user.cpp: In function ‘int main()’:
user.cpp:73:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.in","r",stdin);
^
user.cpp:74:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("next.out","w",stdout);
^
user.cpp:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&d);
^
user.cpp: In member function ‘void huge::read()’:
user.cpp:25:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
user.cpp: In function ‘int main()’:
user.cpp:83:5: warning: ‘r’ is used uninitialized in this function [-Wuninitialized]
if(r){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 4184kb | Incorect | 0 |
2 | 4ms | 4188kb | Incorect | 0 |
3 | 4ms | 4184kb | OK | 10 |
4 | 4ms | 4200kb | OK | 10 |
5 | 8ms | 4216kb | Incorect | 0 |
6 | 20ms | 4288kb | Incorect | 0 |
7 | 48ms | 4440kb | Incorect | 0 |
8 | 120ms | 4836kb | Incorect | 0 |
9 | 160ms | 5068kb | Incorect | 0 |
10 | 172ms | 5156kb | Incorect | 0 |
Punctaj total | 20 |