Pagini recente » Borderou de evaluare (job #1668445) | Borderou de evaluare (job #2703562) | Borderou de evaluare (job #3117165) | Borderou de evaluare (job #2408548) | Borderou de evaluare (job #1218050)
Borderou de evaluare (job #1218050)
Raport evaluator
Compilare:
user.cpp: In function ‘int eratostene(long long int)’:
user.cpp:18:16: warning: unused variable ‘aux’ [-Wunused-variable]
long long i,j,aux(k);
^
user.cpp: In function ‘void openIOFiles()’:
user.cpp:8:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin);
^
user.cpp:9:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout);
^
user.cpp: In function ‘int eratostene(long long int)’:
user.cpp:25:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:29:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&k);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 280kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 276kb | Incorect | 0 |
8 | 0ms | 276kb | Incorect | 0 |
9 | 0ms | 280kb | Incorect | 0 |
10 | 0ms | 280kb | Incorect | 0 |
Punctaj total | 50 |