Pagini recente » Borderou de evaluare (job #311611) | Borderou de evaluare (job #1373195) | Borderou de evaluare (job #2922679) | Borderou de evaluare (job #2152823) | Borderou de evaluare (job #1186340)
Borderou de evaluare (job #1186340)
Raport evaluator
Compilare:
user.cpp: In function ‘int desc(int)’:
user.cpp:26: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:41: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:42: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:49:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:54:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 5720kb | Time limit exceeded. | 0 |
Punctaj total | 0 |