Pagini recente » Borderou de evaluare (job #564925) | Borderou de evaluare (job #2952544) | Borderou de evaluare (job #2520761) | Borderou de evaluare (job #2914823) | Borderou de evaluare (job #1186820)
Borderou de evaluare (job #1186820)
Raport evaluator
Compilare:
user.cpp: In function ‘int desc(int)’:
user.cpp:27:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < pr.size() && pr[i] * pr[i] <= x) {
^
user.cpp: In function ‘int main()’:
user.cpp:56:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.in","r",stdin);
^
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc18.out","w",stdout);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &t);
^
user.cpp:68:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:69:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c, MAX-1, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 864ms | 6196kb | OK | 100 |
Punctaj total | 100 |