Pagini recente » Cod sursa (job #1037723) | Cod sursa (job #2081354) | Cod sursa (job #1515478) | Cod sursa (job #2873890) | Borderou de evaluare (job #1609163)
Borderou de evaluare (job #1609163)
Raport evaluator
Compilare:
user.cpp: In function ‘int nrdiv(int)’:
user.cpp:21:19: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=0; i<np, prim[i]*prim[i]<=x; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:48:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘int’ [-Wformat=]
scanf("%d %d 1", x,s);
^
user.cpp:48:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:37:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in", "r", stdin);
^
user.cpp:38:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out", "w", stdout);
^
user.cpp:40:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp:48:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d 1", x,s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 8ms | 340kb | Incorect | 0 | 0 |
| 2 | 4ms | 336kb | Incorect | 0 |
| 3 | 0ms | 336kb | Incorect | 0 |
| 4 | 8ms | 332kb | Incorect | 0 |
| 5 | 0ms | 340kb | Incorect | 0 | 0 |
| 6 | 12ms | 336kb | Incorect | 0 |
| 7 | 4ms | 336kb | Incorect | 0 |
| 8 | 0ms | 248kb | Incorect | 0 | 0 |
| 9 | 0ms | 340kb | OK | 10 |
| 10 | 8ms | 340kb | Incorect | 0 |
| Punctaj total | 0 |